Community Profile

photo

Govind Narayan Sahu


1 total contributions since 2018

Govind Narayan Sahu's Badges

  • First Answer

View details...

Contributions in
View by

Answered
I need to create a matrix with for loop.
clear;clc n =1:1:3; for i = 1:length(n) A{i} = [n(i) 0; 0 2*n(i)] AA = blkdiag(A{:}) end

6 months ago | 0