How would I write these in MATLAB

1 vue (au cours des 30 derniers jours)
Oscar
Oscar le 30 Nov 2023
Commenté : Oscar le 1 Déc 2023

Réponse acceptée

James Tursa
James Tursa le 30 Nov 2023
Modifié(e) : James Tursa le 30 Nov 2023
Depends on what those subscripts mean. E.g., maybe this
y41 = -(x41^1.5 * cos(x41)^3) + 40;
y42 = x42 * sin(x42^2);
or this
y(41) = -(x(41)^1.5 * cos(x(41))^3) + 40;
y(42) = x(42) * sin(x(42)^2);
or this
y(4,1) = -(x(4,1)^1.5 * cos(x(4,1))^3) + 40;
y(4,2) = x(4,2) * sin(x(4,2)^2);
We need more context to answer your question.
  1 commentaire
Oscar
Oscar le 1 Déc 2023
Thank you very much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by