Manjinder Singh
Followers: 0 Following: 0
Statistiques
0 Problèmes
148 Solutions
RANG
N/A
of 289 731
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 MATLAB Answers
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 19 580
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
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
plus de 5 ans il y a
A résolu
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
plus de 5 ans il y a
A résolu
Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...
plus de 5 ans il y a
A résolu
Product of Array
Given an array of numbers. Get the product of the array.
plus de 5 ans il y a
A résolu
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
plus de 5 ans il y a
A résolu
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
plus de 5 ans il y a
A résolu
only input
Return the output without writing any code into the function.
plus de 5 ans il y a
A résolu
Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G
plus de 5 ans il y a
A résolu
Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.
plus de 5 ans il y a
A résolu
Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...
plus de 5 ans il y a
A résolu
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
plus de 5 ans il y a
A résolu
Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3
plus de 5 ans il y a
A résolu
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
plus de 5 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...
plus de 5 ans il y a
A résolu
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
plus de 5 ans il y a
A résolu
Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.
plus de 5 ans il y a
A résolu
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
plus de 5 ans il y a
A résolu
Area of a circle
Find the value for area of the circle if diameter is given
plus de 5 ans il y a
A résolu
Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?
plus de 5 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.
plus de 5 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.
plus de 5 ans il y a
A résolu
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
plus de 5 ans il y a
A résolu
Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...
plus de 5 ans il y a
A résolu
Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...
plus de 5 ans il y a