Alex Gramc
Followers: 0 Following: 0
Statistiques
0 Problèmes
77 Solutions
RANG
N/A
of 289 965
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 MATLAB Answers
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 19 612
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>
presque 3 ans il y a
A résolu
Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...
presque 3 ans il y a
A résolu
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
presque 3 ans il y a
A résolu
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
presque 3 ans il y a
A résolu
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
presque 3 ans il y a
A résolu
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
presque 3 ans il y a
A résolu
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
presque 3 ans il y a
A résolu
Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...
presque 3 ans il y a
A résolu
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
presque 3 ans il y a
A résolu
Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239
presque 3 ans il y a
A résolu
Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2
presque 3 ans il y a
A résolu
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
presque 3 ans il y a
A résolu
Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]
presque 3 ans il y a
A résolu
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
presque 3 ans il y a
A résolu
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
presque 3 ans il y a
A résolu
Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...
presque 3 ans il y a
A résolu
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
presque 3 ans il y a
A résolu
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;
presque 3 ans il y a
A résolu
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
presque 3 ans il y a
A résolu
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
presque 3 ans il y a
A résolu
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
presque 3 ans il y a
A résolu
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
presque 3 ans il y a
A résolu
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
presque 3 ans il y a
A résolu
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
presque 3 ans il y a
A résolu
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
presque 3 ans il y a
A résolu
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...
presque 3 ans il y a