when i use plot on the matlab online the figure doesn;t appear (windows)

43 vues (au cours des 30 derniers jours)
amr radwan
amr radwan le 17 Fév 2020
when i use plot on the matlab online the figure doesn;t appear (windows)
  2 commentaires
Rik
Rik le 17 Fév 2020
If your tag describes your code I'm not surprised, as the step size is 0. What is the exact code you're trying to run?
amr radwan
amr radwan le 17 Fév 2020
t=0:.000003:.003;
x=2*sin(2*pi*1000*t);
plot(t,x)
iuse this simple code many times
the figur appear in matlab online in some PC and appear in others!!!!

Connectez-vous pour commenter.

Réponses (1)

Prasanna Gude
Prasanna Gude le 3 Mar 2020
As of my understanding, the system in which you are using MATLAB Online does not have a screen depth of 16 or higher.
To work around this issue, set your screen depth to be at least 2^16 (65536) colors. This can be done on a Windows machine from the Display Properties dialog box-> Settings Tab->Color quality drop down box.

Catégories

En savoir plus sur Interactive Control and Callbacks 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!

Translated by