For loop for hilb matrix

3 views (last 30 days)
Jade Henrichon
Jade Henrichon on 25 Feb 2021
Edited: Jade Henrichon on 31 Mar 2021
  2 Comments
John D'Errico
John D'Errico on 26 Feb 2021
If you want help with your code, you need to show the code you wrote. Otherwise, someone would need to completely write your homework assignment for you, and we don't do that here. But if you show the code, the odds are good that the fix will be simple.

Sign in to comment.

Answers (1)

ANKUR KUMAR
ANKUR KUMAR on 26 Feb 2021
for i = 5:5:40
output_mat=hilb(i);
% if you wish to store in cell array, uncomment the below line
output_mat_cell{i/5}=hilb(i);
end

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by