
Govind Narayan Sahu
Content Feed
답변 있음
How to solve this problem: Not enough input arguments. Nonlinear equations, Vegstein
use @ symbol with f1 as given below: [x1f1_vegstein,k] = veg(@f1,1.4,1.8); After that you will get the root but also get the...
How to solve this problem: Not enough input arguments. Nonlinear equations, Vegstein
use @ symbol with f1 as given below: [x1f1_vegstein,k] = veg(@f1,1.4,1.8); After that you will get the root but also get the...
2년 이상 전 | 0
답변 있음
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
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
4년 이상 전 | 0