Solved


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

meer dan 3 jaar ago

Solved


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

meer dan 3 jaar ago

Submitted


2D Truss Analysis With GUI
Analysis of 2D trusses using interactive GUI

meer dan 3 jaar ago | 56 downloads |

Thumbnail

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

meer dan 3 jaar ago

Solved


pressure to dB?
given x ratio of pressure, find corresponding y dB

meer dan 3 jaar ago

Solved


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

meer dan 3 jaar ago

Solved


Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...

meer dan 3 jaar ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

meer dan 3 jaar ago

Solved


Relational operators: Guessing game
Row array userGuess contains a sequence of user guesses. Create a logical indexing array correctGuess with true in each location...

meer dan 3 jaar ago

Solved


Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...

meer dan 3 jaar ago

Solved


Multi-line comments
* Fix the syntax errors.

meer dan 3 jaar ago

Solved


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

meer dan 3 jaar ago

Solved


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

meer dan 3 jaar ago

Solved


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

meer dan 3 jaar ago

Solved


Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

meer dan 3 jaar ago

Solved


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

meer dan 3 jaar ago

Solved


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

meer dan 3 jaar ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

meer dan 3 jaar ago

Solved


modulus of a number
find the modulus of a given number

meer dan 3 jaar ago

Solved


find lenth of array
you have given an array, find the length of that.

meer dan 3 jaar ago

Solved


Basic commands - Which matlab files are here?
Please make a function which will list all specific for Matlab files in current folder.

meer dan 3 jaar ago

Solved


Basic commands - Excuse me, what time is it?
Please write a function, which will return current hours and minutes, please notice we are using 24h time. Return a vector li...

meer dan 3 jaar ago

Solved


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

meer dan 3 jaar ago

Solved


Basic commands - Where did I install Matlab?
Please make a function, which returns path to Matlab installation folder

meer dan 3 jaar ago

Solved


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

meer dan 3 jaar ago

Solved


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

meer dan 3 jaar ago

Solved


square root
Find the square root (y) of an input (x).

meer dan 3 jaar ago

Solved


Solving a quadratic equation
Given a, b ​​and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

meer dan 3 jaar ago

Solved


Make a Plot with Functions
Make a plot and test

meer dan 3 jaar ago

Solved


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

meer dan 3 jaar ago

Load more