Loop over non-numeric stuff

Hello,
I defined a vector of variables in my code like this
x=sym('x', [m,1])
then I defined a matrix M as follows
M=zeros(m,2)
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
Thanks!

Risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Richiesto:

il 21 Gen 2019

Commentato:

il 21 Gen 2019

Community Treasure Hunt

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

Start Hunting!

Translated by