how to take cube of double array?

3 visualizzazioni (ultimi 30 giorni)
Muhammad
Muhammad il 12 Mar 2022
Risposto: Torsten il 12 Mar 2022
i have double array i want to take the cube of it ,is there any matlab func to perform this?
% in workspace
y 3800x1 double
%in command when i wright
z=y^3
it gives error

Risposta accettata

Torsten
Torsten il 12 Mar 2022
z=y.^3

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by