Feeds
문제를 풀었습니다
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
5년 초과 전
문제를 풀었습니다
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
5년 초과 전
문제를 풀었습니다
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
5년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
5년 초과 전
답변 있음
How to regrid data based on longitude-latitude variables?
lon=ncread('air.nc','lon'); lat=ncread('air.nc','lat'); time=ncread('air.nc','time'); air=ncread('air.nc','air'); ox=[0:0.5:...
How to regrid data based on longitude-latitude variables?
lon=ncread('air.nc','lon'); lat=ncread('air.nc','lat'); time=ncread('air.nc','time'); air=ncread('air.nc','air'); ox=[0:0.5:...
5년 초과 전 | 1
답변 있음
Increasing time intervals with for loop
Try using a while loop time = 0 dt = 0.001 n = 1 while time <= 6*pi function1 = sin(time) time = time + (n) 0.001 ...
Increasing time intervals with for loop
Try using a while loop time = 0 dt = 0.001 n = 1 while time <= 6*pi function1 = sin(time) time = time + (n) 0.001 ...
5년 초과 전 | 0
답변 있음
Plot straight line between points
Click here for the solution to similar problemClick here
Plot straight line between points
Click here for the solution to similar problemClick here
5년 초과 전 | 0
| 수락됨
답변 있음
Nested if else statements
you have three if statements and three end statements to close the conditions before introducing another else. So just delete th...
Nested if else statements
you have three if statements and three end statements to close the conditions before introducing another else. So just delete th...
5년 초과 전 | 1
| 수락됨
답변 있음
How to create specific while loop code
answer =1 for i = 2:2:10 answer = answer * i end print('answer')
How to create specific while loop code
answer =1 for i = 2:2:10 answer = answer * i end print('answer')
5년 초과 전 | 0
답변 있음
Adding multiple lines in plot using annotation
text(0.5, 1.5,'Your Text', 'fontsize',6,'color','k','FontWeight','bold'); r = rectangle('Position',[0.3 1.4 5 0.15]','linewidth...
Adding multiple lines in plot using annotation
text(0.5, 1.5,'Your Text', 'fontsize',6,'color','k','FontWeight','bold'); r = rectangle('Position',[0.3 1.4 5 0.15]','linewidth...
5년 초과 전 | 0
답변 있음
How to customize color map
r = -8 + (8+4)*rand(10); %generate random number between -8 and 4 pcolor(r);shading interp; %% what you need starts from here ...
How to customize color map
r = -8 + (8+4)*rand(10); %generate random number between -8 and 4 pcolor(r);shading interp; %% what you need starts from here ...
5년 초과 전 | 0
답변 있음
how to compute monthly average values using for loop
%% first create an array with repeating values for all days in a month e.g. Jan =1 for day 1 to 31 a = datenum({'01-Jan-2003';'...
how to compute monthly average values using for loop
%% first create an array with repeating values for all days in a month e.g. Jan =1 for day 1 to 31 a = datenum({'01-Jan-2003';'...
5년 초과 전 | 0
| 수락됨


