Community Profile


Govind Narayan Sahu

Last seen: 2 days ago Active since 2018


  • Explorer
  • First Review
  • First Answer

View badges

Content Feed

View by

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 years ago | 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

4 years ago | 0