Air Density from Temperature and Pressure
The density of air can be estimated from the product of molar mass and molar density:
Write a function that finds the densi...
3年弱 前
解決済み
Narcissistic number ?
Inspired by Problem 2056 created by Ted.
In recreational number theory, a narcissistic number is a number that is the sum of ...
Sum of diagonal of a square matrix
If
x = [1 2 4; 3 4 5; 5 6 7]
then y should be the sum of the diagonals of the matrix
y = 1 + 4 + 7 = 12
3年弱 前
解決済み
Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...
3年以上 前
解決済み
Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by:
x = 1/2 gt^2
write a function that calculat...
Plot Line Specifications
Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...
3年以上 前
解決済み
Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.