Borrar filtros
Borrar filtros

Hello, what equation does this function solve?

1 visualización (últimos 30 días)
Ivan Solodkov
Ivan Solodkov el 27 de Mayo de 2023
Movida: Walter Roberson el 27 de Mayo de 2023
b = 1
b = 1
C=0.024
C = 0.0240
WWW=[0.2;0.78;-0.15]
WWW = 3×1
0.2000 0.7800 -0.1500
syms a
qaqaqaqa(:,i) = double(solve(b^2 == var(b*C*WWW*a),a));
Index in position 2 is invalid. Array indices must be positive integers or logical values.

Respuestas (1)

鑫源
鑫源 el 27 de Mayo de 2023
Movida: Walter Roberson el 27 de Mayo de 2023
qaqaqaqa(:,i)
If not defined, i is an imaginary number and cannot be used as an index
如果没有定义的话,i是一个虚数,不能用作索引
Why not just remove the parentheses
为什么不直接去掉括号

Categorías

Más información sobre Formula Manipulation and Simplification en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by