How to solve subtraction between two real numbers
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to know about Subtraction of two real numbers in Matlab
1 comentario
John D'Errico
el 16 de Dic. de 2017
Know what about subtraction?
format long g
pi - 2
ans =
1.14159265358979
Respuestas (1)
Sammit Jain
el 16 de Dic. de 2017
Pretty much what the comment says. You can subtract two numbers by doing the following:
a=100;
b=10;
res = a-b;
This is basically how you subtract two numbers in MATLAB.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB 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!