photo

Tharrini

MathWorks

Last seen: Today Actif depuis 2024

Followers: 0   Following: 1

Statistiques

  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

8 mois il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

8 mois il y a

A résolu


Convert radians to degrees
Given input in radians, output to degrees

8 mois il y a

A résolu


Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

8 mois il y a

A résolu


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

8 mois il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

8 mois il y a

A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

8 mois il y a

A résolu


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

8 mois il y a

A résolu


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

8 mois il y a

A résolu


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

8 mois il y a

A résolu


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

8 mois il y a

A résolu


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

8 mois il y a

A résolu


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

8 mois il y a

A résolu


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

8 mois il y a

A résolu


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

8 mois il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

8 mois il y a

A résolu


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

8 mois il y a

A résolu


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

8 mois il y a