Effacer les filtres
Effacer les filtres

How to solve subtraction between two real numbers

1 vue (au cours des 30 derniers jours)
Zakir Ullah
Zakir Ullah le 16 Déc 2017
I want to know about Subtraction of two real numbers in Matlab
  1 commentaire
John D'Errico
John D'Errico le 16 Déc 2017
Know what about subtraction?
format long g
pi - 2
ans =
1.14159265358979

Connectez-vous pour commenter.

Réponses (1)

Sammit Jain
Sammit Jain le 16 Déc 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.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by