How to implement this equation in matlab,i am basic level?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152262/image.jpeg)
0 comentarios
Respuestas (1)
Thorsten
el 27 de Nov. de 2015
T and Vt can be of arbitrary size and dimensions, as long as both T and Vt have the same size and dimensions.
ind = Rt >= 0;
Rt(ind) = T(ind) - Vt(ind);
You can put that into an infinite loop
dont_stop = 1;
while dont_stop
% copy above code here
end
that can be stopped typing CRTL-C. But usually you want to define a stop criterium inside the loop.
0 comentarios
Ver también
Categorías
Más información sobre Software Development Tools en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!