MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
How can I keep my GUI invisible while plotting?
techsmith - 2020-09-02

In my GUI, I run 2 plots on separate axes in OpeningFcn. When The GUI becomes visible, one has been plotted (the first one in the code) but the other ...

How to change the color code in contourf
tanvishah - 2020-09-02

I got an old script and i am modifying it. Below is my script for i=1:2   h= figure;contourf(X',Y',damp_matrix(:,:,i),1000,'EdgeColor','none'); color...

how to set x axis into hours
ishitaisha6840 - 2020-09-02

i have problem . how to i set the x axis into hour. i have 10080 data and each one represents one minute of data. i want to represents x axis with 24 ...

How to create random vectors of the same lengths?
kellysmith9 - 2020-09-02

I am trying to get a random vector (2D) of the same length, say 'x'. I thought about creating a list of numbers -1 to 1 for x values and then another ...

How to change ylabels in a for loop
Gracesmith97 - 2020-09-01

Hello everyone, I have a simple for loop to plot 7 different plots, but the ylabel should be different.   for k=1:7; figure bar(GAMMA_sta(k,:)) xlabe...

How do you set the dimensions of an excel plot using activex from MATLAB?
ava.smith01 - 2020-09-01

I have constructed a xyscatter plot in excel using activex from matlab code but cant figure out how to dimension it. Here is the code that I have: Wor...

Why with even numbers the sin looks completly different that with odd number
Aayushsingh - 2020-09-01

Hello!! I am plotting an easy sin function but I dont understand why when the variable delta is 0.2 0.4 0.6 and so on I get a perfect sin, but on the ...

How do we plot repetitive items simply? Can a loop and eval be used, for example? How d'you nest a string within a string?
Oliviawilliams02 - 2020-09-01

Note the repetitive nature of the following script. Isn't it possible code this more simply using a loop of some kind, and perhaps the 'eval' command?...

How can I have all the menus and options of a figure window when I plot a function since a GUI?
shivamsingh - 2020-09-01

I'm making a program with a GUI and I need to plot some functions, but I want to plot it in different windows and I want that those windows have all t...

Help with plotting multiple line complete with legends.
shivraghav - 2020-08-31

, This question has a few parts so bare with me if it seems confused, I'll try my best to be clear. My problem is this, I want to plot 11 lines in dif...

Get a Free Consultation or a Sample Assignment Review!