how to create a table in Matlab ?
Afficher commentaires plus anciens
I have Error L1,L2 and Linf between exacte solution and numerique solution of PDE for differents alpha and dt values in Matlab code.
I went to create a table has a muliple ligne, like that
alpha dt Error L^1 Error L^2 Error L^inf
------------- ------ -------------- ----------- -----------
1.0 0.05 ? ? ?
0.8 0.05 ? ? ?
0.5 0.05 ? ? ?
0.2 0.05 ? ? ?
Réponse acceptée
Plus de réponses (1)
Steven Lord
le 28 Juil 2020
0 votes
In release R2016b (the release with which this answer was marked) table variable names must be valid MATLAB identifiers, which means neither spaces nor carets (^) are allowed. This restriction was removed in release R2019b so if you want to use those variable names you will need to upgrade to release R2019b or later.
Catégories
En savoir plus sur MATLAB Support Packages dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!