Olawale Ikuyajolu
Followers: 0 Following: 0
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...
4 years 前
已解决
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...
4 years 前
已解决
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...
4 years 前
已解决
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:...
4 years 前
已回答
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:...
4 years 前 | 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 ...
4 years 前 | 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
4 years 前 | 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...
4 years 前 | 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')
4 years 前 | 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...
4 years 前 | 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 ...
4 years 前 | 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';'...
4 years 前 | 0
| 已接受