フィルターのクリア

Different graph on matlab and ms excel with same data

3 ビュー (過去 30 日間)
Muhammad Saad Naeem
Muhammad Saad Naeem 2017 年 5 月 25 日
回答済み: Abel Babu 2017 年 5 月 30 日
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 件のコメント
Muhammad Saad Naeem
Muhammad Saad Naeem 2017 年 5 月 26 日
because there are points in data where y and x proceed from non zero value to zero value and matlab plot this jump too though it is not desirable but i dont know is any kind of plote which does not draw transition from non zero point to zero point

サインインしてコメントする。

回答 (1 件)

Abel Babu
Abel Babu 2017 年 5 月 30 日
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

カテゴリ

Help Center および File ExchangeRed についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by