Feeds
질문
Loop is not working. My while loop is not working. output is initial values here. Can anyone help??
D=800; d=[1 600 09 0.02 300 500; 2 500 10 0.04 100 400; 3 400 06 0.08 050 200]; g=1; P1=400; P2=300; ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
Array indices must be positive integers or logical values. This error is coming at line:while C(counter)> C(j) && abs(f)>.00001. Please help me out.
D=800; d=[1 600 09 0.02 300 500; 2 500 10 0.04 100 400; 3 400 06 0.08 050 200]; g=1; P1=400; P2=300; P3=100; del_C...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
"The function 'x' might be used before it is defined " error is coming. can anyone help?
function [P1,P2,P3]=assignment1(PD) a=(x-8)/.04; b=(x-10)/.08; c=(x-6)/.16; while (a<=500) && (a>=150) && (b<=400)...
7년 초과 전 | 답변 수: 1 | 0

