Info

此问题已关闭。 请重新打开它进行编辑或回答。

Defining a variable in specific nodes

1 次查看(过去 30 天)
m m
m m 2019-5-6
关闭: MATLAB Answer Bot 2021-8-20
Hi,
I need to define a variable B(j)) in the 1/2 3/2 5/2.... . e.g i have the variables A(i) and B(j). So the loops are( for i =2:N and j=2:N) .
And B(j)=A(i+1)-A(i)
  8 个评论
Adam Danz
Adam Danz 2019-5-6
Well then I'm not sure what's going on because loops require integer increments.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by