Community Profile

# Mil Shastri

### MathWorks

11 total contributions since 2019

View details...

Contributions in
View by

How to plot graphs of sine and cosine functions on the same coordinate plane using matlab
use the 'hold on' command. For example: t=1:0.1:10 plot(t,sin(t)) hold on; plot(t,cos(t))

ongeveer een jaar ago | 0

| accepted

How can I create a 3D plot of data with dots of different color?
Check out this video starting from 18:04 https://www.mathworks.com/videos/matlab-for-excel-users-81634.html At 19:04, Adam defi...

ongeveer een jaar ago | 0

how to load image files from a folder ?
imagedatastore is built for helping this. Check out an example to build this here. The lines you might need are: imds = imageD...

ongeveer een jaar ago | 0

I am using isosurface to plot 3d density maps. I would like to plot multiple maps in the same figure, each one with a different color. How can I do so?
You can try this: [x,y,z,v] = flow; figure; p = patch(isosurface(x,y,z,v,-3)); p.FaceColor = 'yellow'; hold on; p = patc...

meer dan een jaar ago | 0

| accepted

HOW TO OPEN THIS EXAMPLE?
Hi Emanuelle, my suspision is that you might need a Simscape (& Simulink) license. Do you have the licenses?

meer dan een jaar ago | 0

I am using isosurface to plot 3d density maps. I would like to plot multiple maps in the same figure, each one with a different color. How can I do so?
Hi Guy, Please provide a sample for A matrix too. The code doesn't run without it.

meer dan een jaar ago | 0

matrix with characters and numbers from text file
You could use the import tool and even provide the url of the txt file (https://www.mathworks.com/matlabcentral/answers/uploaded...

meer dan een jaar ago | 0

values per hour from accumulative data
I would recommend using the import tool and the automatic code generation (yes, MATLAB will write code that you can reuse). See ...

meer dan een jaar ago | 0