MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
How to get system date and time into simulink?
Robertsmith095 - 2020-03-20

Is there a way to get the system date and time (not simulation time) into simulink?...

How can I display axis values as thousands, millions and billions instead of 10^3, 10^6 and 10^9?
sophiawilson96 - 2020-03-19

I would like to make the y-axis of my plot to show 16.000.000 as 16 million instead of 1.6 x 10 ^ 7. Does someone know a solution?  ...

How to plot vertical lines for each data point?
juliavins03 - 2020-03-19

I have a line graph plot which is giving me a correct figure looking like the following:   However, my task is to recreate a zonation simulating the ...

how to normalize matrix with positive and negative values
Eriksolheim91 - 2020-03-19

I would like to normalize/transform matrix (neuronal responses) that has both negative and positive values in a way that all values become positive bu...

How to use slider for image processing?
dr.fresch03 - 2020-03-16

I'm working to create a tool that would measure diameter of our fibers. We've decided to create a GUI for ease of use and to change parameters when ne...

How to plot two plotyy plots in the same plot?
angelinawilliams97 - 2020-03-16

I am trying to plot four plots in the same figure. First i plot using plotyy. Then two graphs are created, each with a y-axis. Now I want to plot anot...

How to plot stacked bar in Matlab with showing each limit ?
tanisha97 - 2020-03-16

I am looking a code in Matlab to plot the stacked bar graph (like in the picture). This stacked bar graph is also labelled (inside the graph) with the...

How can I generate this plot?
andersonsmith93 - 2020-03-07

I am trying to generate similar looking plots to the one attached. With this, do you know what kind of plot this is? And how to get the black bars sho...

how can results of two separate m files be plotted in same figure window
annabelletaylor - 2020-03-04

figure window after execution of first program should not close. when second m file is executed result of second program should be plotted in first fi...

How to plot rastrigin function in matlab
Gracesmith97 - 2020-03-04

I'm trying to plot rastrigin function this way clear; clc; close all; limits = repmat([-5 5], 2, 1); [X,Y] = meshgrid(linspace(limits(1,1),limits(1,2)...

Get a Free Consultation or a Sample Assignment Review!