フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I dont understand how to store the values in an array

3 ビュー (過去 30 日間)
barry conrad
barry conrad 2018 年 12 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Im trying to learn how to store values in an array, i was trying to create a list of 200 values for Tin which is the temperature using the last value of Tin for the next aswell , t is the time ranging from 1:200. i coudnt find any relevant
clear
t=zeros(200,1); %unsure
h= 1.6;
w=1.2;
l=1.8;
a=40;
c=1005.4;
for t1=1:200 % t is the time and
  3 件のコメント
Guillaume
Guillaume 2018 年 12 月 10 日
編集済み: Guillaume 2018 年 12 月 10 日
Well, now that you've removed the significant part of the code, it's going to be difficult to help you any further.
Guillaume
Guillaume 2018 年 12 月 11 日
It's particularly rude to close questions for which you have received answers and feedback. You're basically saying, I don't care that you tried to help me.

回答 (1 件)

Guillaume
Guillaume 2018 年 12 月 10 日
Your first unsure is correct. Your second one as well as long as you finish that line with something that makes sense.
  2 件のコメント
barry conrad
barry conrad 2018 年 12 月 10 日
what would make sense ?
Guillaume
Guillaume 2018 年 12 月 10 日
what would make sense ...
Whatever value you were going to assign to t(t1). Your line wasn't finished. I've no idea what was meant to go at the end and you haven't explained.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by