Different graph on matlab and ms excel with same data
Afficher commentaires plus anciens
Hello, i encounter the problem, when tried to draw lt-spice data in matlab. The plot was different in lt Spice from matlab. then i try to varify plot graph on ms excel with same data.plot on ltspice and ms-excel is same where as matlab showing wrong plot, can some body help me ?? i have attached wavforms with question
1 commentaire
Muhammad Saad Naeem
le 26 Mai 2017
Réponses (1)
Abel Babu
le 30 Mai 2017
0 votes
Hi,
From the images that you shared, it would seem that there are multiple vectors that are expected to be on the plot. Both LT-Spice and MS-Excel seems to pick it up. Since MATLAB is a programming language you might be missing out a certain structuring of the data that would indicate MATLAB that, it is not a single vector data but different.
My rationale for arguing this would be from the images that you shared in which, LT-Spice plots the vectors in different color indicating that the there are different vectors being plotted, whereas in MATLAB the color of the lines in the plot are the same indicating that the entire data is taken as one vector. Fixing this would have all the plots behaving as the same.
Abel
Catégories
En savoir plus sur SPICE files 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!