Borrar filtros
Borrar filtros

Loop over non-numeric stuff

1 visualización (últimos 30 días)
Cantor Set
Cantor Set el 21 de En. de 2019
Comentada: madhan ravi el 21 de En. de 2019
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!
  1 comentario
madhan ravi
madhan ravi el 21 de En. de 2019
An example of your desired output would help.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by