Interactive Plot Creation with the Plot Tools
Loading...
37,565
Uploader Comments (MATLAB)
see all
All Comments (20)
-
how to read .hdf file using matlab? please help.
i have data from NASA but all of the data were in hdf format
i think matlab can read these but i dont know how...
i would really appreciate someone's help... thanks!
-
J=(2*(abs(besselj(1,m))))/m, how do i get a 3D plot of J, m is a product of sine theta and a constant = 60.54, theta varies from -12 degrees to 12 degrees. please help. thanks.
-
@MATLAB Thanks a lot, that really helps, now I want a 3D plot of the function J as t (which is actually theta) is varied from from 0.1 degree to 12 degrees. Thanks again. I read about mesh but they all use two variables while all i have is t (theta).
-
can you believe it, you've already completed C
Loading...
whatever3009 1 year ago
MATLAB variables are arrays by default. If you remove your for loop as shown below, the variables become arrays, which can be processed with vector operations. When processing vectors here, one thing you also have to do is use"./" instead of "/"to make sure you get element-wise divison (or multiplication in the case of .*) instead of matrix division. Showing other lines that change (space is limited):
t=0.1:0.1:12; % Remove "for"
J=(2*(abs(besselj(1,m))))./m; % Add "."
% Remove "end"
MATLAB 11 months ago
Hey i have a general doubt regarding Matlab commands:'
what is the difference between a scatter plot command "scatter"
and normal plot command "plot"??
ajayram198 1 year ago
It is possible to do a scatter plot with the simple, general purpose "plot" command by specifying/setting "no line" (and just markers), but the "scatter" command provides additional arguments to let you specify the area and color of the markers (its more obvious when you call it as a function rather than when you use it interactively). Googling the command names + matlab will find the documentation.
MATLAB 1 year ago
Hey i was wondering if you could help me out with this: Write a function that plots a whirlpool in the following fashion:
- theta is (2*height*intensity) evenly spaced points between 0 and height/2 - x and y are defined as circles, with the radius being the height and the angles being theta*intensity - z is theta - x, y,and z are plotted on the same graph as -x, -y, and -z. All lines should be black
- the figure should be titled 'Whirlpool!' and should show a grid
brvheavyhitter20 2 years ago
You need to try this yourself. plot3 might be useful.
MATLAB 2 years ago