How I can create a three dimensional succession
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi to everyone! What I would like to know is how I can define a 1x1xN element considering that in the third dimension I would like to have something like:
freq = (5:0.5:15)*1e9;
I hope I've been clear enough!
0 commentaires
Réponse acceptée
Plus de réponses (2)
John D'Errico
le 6 Jan 2019
Modifié(e) : John D'Errico
le 6 Jan 2019
As simple as one line like this:
freq = reshape((5:0.5:15)*1e9,1,1,[]);
As you can see, it has the desired shape.
size(freq)
ans =
1 1 21
0 commentaires
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements 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!