![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/1850558.jpg)
MKN
Followers: 0 Following: 0
Professional Interests: Signal Processing
Statistiques
RANG
27 655
of 292 722
RÉPUTATION
1
CONTRIBUTIONS
6 Questions
1 Réponse
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
1
RANG
of 19 933
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
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
plus de 10 ans il y a
A résolu
Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...
presque 11 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 11 ans il y a
A résolu
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
presque 11 ans il y a
A résolu
Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...
presque 11 ans il y a
A résolu
sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.
presque 11 ans il y a
A résolu
Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...
presque 11 ans il y a
A résolu
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
presque 11 ans il y a
A résolu
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
presque 11 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 11 ans il y a
A résolu
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
presque 11 ans il y a
A résolu
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
presque 11 ans il y a
A résolu
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
presque 11 ans il y a
A résolu
Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...
presque 11 ans il y a
A résolu
Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...
presque 11 ans il y a
A résolu
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
presque 11 ans il y a
A résolu
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
presque 11 ans il y a
A résolu
Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...
presque 11 ans il y a
A résolu
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
presque 11 ans il y a
A résolu
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
presque 11 ans il y a
A résolu
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
presque 11 ans il y a
A résolu
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
presque 11 ans il y a
A résolu
Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...
presque 11 ans 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.
presque 11 ans il y a
A résolu
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
presque 11 ans il y a
A résolu
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
presque 11 ans il y a
A résolu
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
environ 11 ans il y a