MATLAB Answers


Loop over non-numeric stuff

Asked by Cantor Set on 21 Jan 2019
Latest activity Commented on by madhan ravi
on 21 Jan 2019
I defined a vector of variables in my code like this
x=sym('x', [m,1])
then I defined a matrix M as follows
I want to ask the user through a message to insert the upper and lower bounds of the ith variable in x respectively
then at the ith loop these values get saved in the ith row of M

  1 Comment

madhan ravi
on 21 Jan 2019
An example of your desired output would help.

Sign in to comment.

0 Answers