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

madhan ravi
madhan ravi 2019년 1월 21일
An example of your desired output would help.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2019년 1월 21일

댓글:

2019년 1월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by