error: diff: X must be numeric or logical
Publicado por Mistery-Doo (1 intervención) el 07/03/2021 05:16:46
Hi everyone. I´ve got a problem trying to program the derivate from this funciton:
I do know the value T1 will return (323) but this mistake "error: diff: X must be numeric or logical" keeps jumping. Does anybody know what to do? Thx
1
2
al1=@(T1) ((1.+((0.48.+(1.574.*omega).-(0.176.*(omega.^2))).*(1.-(T1.^0.5)))).^2);
diferen=diff(al1, T1);
I do know the value T1 will return (323) but this mistake "error: diff: X must be numeric or logical" keeps jumping. Does anybody know what to do? Thx
Valora esta pregunta


0