Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
What should be the coding for the problem mentioned?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I have an input y whose value keeps changing for different iteration and y is being fed to two parameters namely r and R. Now I'm trying to get a piece of coding doing which, when the value of y changes, values of r and R must also change. Please help me.
댓글 수: 0
답변 (1개)
Image Analyst
2014년 5월 21일
Something like this
for k = 1 : 10
y = rand(1); % Or however you get y to change
r(k) = Function1(y);
R(k) = Function2(y);
end
We don't know how r and R change with y so you'll have to write those functions.
댓글 수: 10
Image Analyst
2014년 5월 22일
Like I said, I don't have Simulink so this is nothing I can help you with. Hopefully someone else will answer. You didn't add the Simulink product to the Products list so you might have already lost some potential answerers. I'll add it for you.
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!