Resuelto


Transpose of matrix
Transpose of matrix as per test cases

casi 2 años hace

Resuelto


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

casi 2 años hace

Resuelto


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

casi 2 años hace

Resuelto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

casi 2 años hace

Resuelto


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

casi 2 años hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

casi 2 años hace

Resuelto


Find max
Find the maximum value of a given vector or matrix.

casi 2 años hace

Resuelto


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

casi 2 años hace

Resuelto


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

casi 2 años hace

Resuelto


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

casi 2 años hace

Resuelto


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

casi 2 años hace

Resuelto


Air Mass to Star for an Observer at Mean Sea Level
Air mass is a measure of how much atmosphere light from a source above the atmosphere (eg sun, planet, star) has to travel throu...

casi 2 años hace

Resuelto


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

casi 2 años hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

casi 2 años hace

Resuelto


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...

casi 2 años hace

Resuelto


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

casi 2 años hace

Resuelto


Find the largest number
Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

casi 2 años hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

casi 2 años hace

Resuelto


Remove the Zero
Given an array n, remove all zeros

casi 2 años hace

Resuelto


Log of a number
Write a script that will give the log of x as output.

casi 2 años hace

Resuelto


Square root of a number
Write a code that will output the square root of x.

casi 2 años hace

Resuelto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

casi 2 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

casi 2 años hace

Resuelto


Draw a '0' in a one matrix!

casi 2 años hace

Resuelto


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

casi 2 años hace

Resuelto


Find the max element of the array
Find the max element of the array

casi 2 años hace

Resuelto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

casi 2 años hace

Resuelto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

casi 2 años hace

Resuelto


to the 2 all elements
to the 2 all elements

casi 2 años hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

casi 2 años hace

Cargar más