No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Can some one tell me how to plot a contour map of the height of the earth surface? | |
Hi anyone knows how to add colormap to my plots on the polar graph? thx title([COLOR=#a020f0]'Hodograph Displaying Change of Wind Speed and Direction with Height'[/COLOR],[COLOR=#a020f0]'Fontsize'[/COLOR],12) [COLOR=#228b22]% change working directory to data directory [/COLOR]cd [COLOR=#a020f0]C:\weatherdata\total [/COLOR]number_of_files=length(dir)-4; [COLOR=#0000ff]for[/COLOR][COLOR=#000000] n=1:number_of_files [/COLOR] s=load([[COLOR=#a020f0]'D'[/COLOR],num2str(n),[COLOR=#a020f0]'.txt'[/COLOR]]); [COLOR=#228b22]% specify wind speed and direction variables [/COLOR]wdir = s(12,:); speed … | |
Hi, Any1 knows how to extract the coordinates of the plotted data points on a graph in Matlab? THx | |
Hey guys, in matlab when u do a loop(something like this): [COLOR=red]for i=1:3[/COLOR] [COLOR=red]a= 2*i[/COLOR] [COLOR=red]end[/COLOR] You get a=2 a=6 a=9 any idea how do i assign the 3 answers(a) names so that i can calculate the product of all 3 answers? | |
Can anyone teach me how to plot the line of best fit in this graph? Matlab keeps gving me error message that polymial is not uniquie when i use polyfit() command THx % change working directory to data directory cd C:\weatherdata number_of_files=length(dir)-3; for n=3:number_of_files s=load(['D',num2str(n),'.txt']); % define y as height … | |
Hi to all, I want to ask how can I load files with for loop? My file names are like D1,D2,D3 and so on.. THen how do i assign the filename variable so that Matlab recognises it? I tried using this code but it seemed that Matlab recognised the a … | |
Could any1 help me plzzzz. PLz teach me how to plot coordinates on a map given the initial lat and lon and the bearing and distance to the destination. thx ![]() |
The End.