Community Profile

photo

Devesh Kumar


Last seen: 3 maanden ago Active since 2022

Statistics

  • Thankful Level 2
  • Explorer

View badges

Content Feed

View by

Question


Can anyone please help me ? I am not able to find the a value y from x
for i=1:cf_n if x1(i,1)<Vrd_cf(i) && x1(i,2)>Vrd_cf(i) index2(i) = find((abs(xa(i,:)-Vrd_cf(i)) < 0.001),1,"last")...

4 maanden ago | 1 answer | 0

1

answer

Question


I have to store 3 sets of data, with for statement
for i = 1:cf_n x1(i,1) = [2 Vr_on_cf Vr_R1_cf(i) Vr_R2_cf(i) Vr_cf_end]; % Az/D for cross - flow y1(i,1) = [0 0.15 A...

4 maanden ago | 1 answer | 0

1

answer

Question


this is a part of my code, I am getting this message. "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side."
xa2=linspace(x2(1),x2(2),1000); ya2 = k(1)*xa2+d(1); xb2=linspace(x2(2),x2(3),1000); yb2 = k(2)*xb2+d(2); xc2=linspace(x2(3)...

4 maanden ago | 1 answer | 0

1

answer