Angus
2013년부터 활동
Followers: 0 Following: 0
I am an undergrad at UVic doing physics/EarthAndOceanSciences(EOS). I have some matlab experience through work in medical imaging (CT scans) and now I am using it for work in climate research.
I look forward to being part of this community and learning even more about matlab.
Feeds
답변 있음
Holding the mouse button in GUI
Some function written for <http://www.mathworks.com/help/matlab/ref/uicontrol_props.html#bqxoije ButtonDownFcn> maybe? Or can yo...
Holding the mouse button in GUI
Some function written for <http://www.mathworks.com/help/matlab/ref/uicontrol_props.html#bqxoije ButtonDownFcn> maybe? Or can yo...
11년 초과 전 | 0
답변 있음
how do I adjust the z scale on a contourf plot?
Probably not the best way but this works somewhat ... val_range = double(data>=-5 & data<=5); val_range(val_range==0) = ...
how do I adjust the z scale on a contourf plot?
Probably not the best way but this works somewhat ... val_range = double(data>=-5 & data<=5); val_range(val_range==0) = ...
11년 초과 전 | 0
답변 있음
How to rearrange the rows of a matrix so the column values loop
Hey that was interesting, I think this is what you want (not sure under what conditions it might fail): rec = [0 0;0 0.4;0....
How to rearrange the rows of a matrix so the column values loop
Hey that was interesting, I think this is what you want (not sure under what conditions it might fail): rec = [0 0;0 0.4;0....
11년 초과 전 | 0
| 수락됨
답변 있음
overplot contours on image
Regardless of limits, you need to use 'hold on' before executing the contour function or it will always overwrite the image that...
overplot contours on image
Regardless of limits, you need to use 'hold on' before executing the contour function or it will always overwrite the image that...
11년 초과 전 | 0
| 수락됨
답변 있음
How to show all martix entries and color some chosen values
You can use the built-in fprintf to display red text output in the command window fprintf(2,'hi there\n') It is not very...
How to show all martix entries and color some chosen values
You can use the built-in fprintf to display red text output in the command window fprintf(2,'hi there\n') It is not very...
11년 초과 전 | 0
| 수락됨
답변 있음
How can I plot values in worldmap
From your previous comments: ~~~~ "The LAT and LON matrix will vary for each week I pull out information from my database....
How can I plot values in worldmap
From your previous comments: ~~~~ "The LAT and LON matrix will vary for each week I pull out information from my database....
11년 초과 전 | 0
답변 있음
Plot data on sphere/world map
Im not sure if you need to interpolate at all ... you have a 2d matrix of data with associated vectors for phi and theta? Then y...
Plot data on sphere/world map
Im not sure if you need to interpolate at all ... you have a 2d matrix of data with associated vectors for phi and theta? Then y...
11년 초과 전 | 0
답변 있음
How can I plot values in worldmap
Hi, you can check out <http://www.mathworks.com/help/map/ref/axesm.html axesm> and try executing "maps" to see a list of ava...
How can I plot values in worldmap
Hi, you can check out <http://www.mathworks.com/help/map/ref/axesm.html axesm> and try executing "maps" to see a list of ava...
11년 초과 전 | 0
답변 있음
Find part of string and remove entire line
Hi, probably start by reading in the text file filename='textfile.txt'; f=fopen(filename); line1=fgetl(f); Then yo...
Find part of string and remove entire line
Hi, probably start by reading in the text file filename='textfile.txt'; f=fopen(filename); line1=fgetl(f); Then yo...
11년 초과 전 | 0
답변 있음
How to display only one legend for a figure with multiple plots?
"legend('string1','string2',...) displays a legend in the current axes using the specified strings to label each set of data." ~...
How to display only one legend for a figure with multiple plots?
"legend('string1','string2',...) displays a legend in the current axes using the specified strings to label each set of data." ~...
11년 초과 전 | 0
답변 있음
How can I grab the contour lines into a new figure ?
Try checking out <http://www.mathworks.com/help/matlab/ref/contourgroupproperties.html#ContourMatrix ContourMatrix>. "Contour...
How can I grab the contour lines into a new figure ?
Try checking out <http://www.mathworks.com/help/matlab/ref/contourgroupproperties.html#ContourMatrix ContourMatrix>. "Contour...
11년 초과 전 | 0
답변 있음
How to calculate both length and indices of a series of a certain value in a vector
From the docs: ************* Y = diff(X) calculates differences between adjacent elements of X. If X is a vector, then ...
How to calculate both length and indices of a series of a certain value in a vector
From the docs: ************* Y = diff(X) calculates differences between adjacent elements of X. If X is a vector, then ...
11년 초과 전 | 1
답변 있음
Make a smooth animation
Use the 'visible' setting, initially set the figure f = figure('visible','off') and if you want to change it at some poi...
Make a smooth animation
Use the 'visible' setting, initially set the figure f = figure('visible','off') and if you want to change it at some poi...
11년 초과 전 | 0
| 수락됨
답변 있음
Counting the numbers of times a number appears in a list
There are some problems with this, your regexp will only return an index so when trying to compare to 'p' it will always fail as...
Counting the numbers of times a number appears in a list
There are some problems with this, your regexp will only return an index so when trying to compare to 'p' it will always fail as...
11년 초과 전 | 0
| 수락됨