photo

NIMA RAHMANI MEHDIABADI


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


plot a graph of year vs rate
so i have a code : function ydot= fossil_fuels(t,y) p = y(1); sigmas = y(2); sigmad = y(3); alphas = y(4); alphad = y(5); r =...

mer än 5 år ago | 1 answer | 0

1

answer

Question


solving a system of ODE
so i have a pdf attached which contains all the information to solve a system of ODE. i have written the code in a m-file as ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


mean and variance of numbers read from a txt
so i have text that has numbers 1,2,3,4,...,19,20 and i like to take the mean and varience of the numbers, how can i do it? in...

mer än 5 år ago | 1 answer | 0

1

answer

Question


fprintf to create a table of numbers
Hi everyone so im trying to print a table of numbers here is my code x = linspace(0,4,10); y = sinh(x); z = cosh(x); g = [...

mer än 5 år ago | 0 answers | 0

0

answers

Question


how to plot meshgrid and mesh
so im trying to plot a meshgrid and mesh for a function of z = 2xsin^2(x) so my code is; clear; x = linspace(-3,3); y = lins...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Trapezoidal rule for loop
So i have done the calculation for only one value of n = 200. The code that i have written is : f = @(x)6*(cos(x/2)) .* (sin(x/...

mer än 5 år ago | 1 answer | 0

1

answer

Question


How to make a function
So i have a equation of y = x sin(x) - cos (x) i have done a code which takes the derivative of the function and evaluates at p...

mer än 5 år ago | 1 answer | 0

1

answer

Question


How to create a table by making printing new lines
So i am trying make a table of numbers like 0 0 0 1 2 0 0 1 2 3 0 1 2 3 4 my code is : numbers are different so dont worry...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Problem executing While loop
So I'm trying to change my code from a for loop to while loop to display numbers from 10 to 30 and skips numbers from 15 to 20 a...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Writing a one line programme to show that an equation equals to the answer shown.
How can i write a one line programme to show that sqrt(4) = 2 . solve('sqrt(4)') it says : Error using solve>getEqns (line 41...

mer än 5 år ago | 1 answer | 0

1

answer