MashuLab main
mc-mashulab src mashu_demo.m
  1. % MashuLab primitives-first demo
  2. clear; clc
  3. A = eye(4);
  4. B = ones(4, 4) + A;
  5. C = A * B;
  6. response = C(:, 1);
  7. plot(response, 'LineWidth', 2);
  8. summary = size(C); % AI: feeds live report
  9. title('MashuLab matrix response');
  10. assistant.context = 'workspace-summary-only';
  11. result = mashu.run(C);
  12. who
Figure 1

            
>>