Statistiques
0 Problèmes
61 Solutions
RANG
N/A
of 301 917
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 460
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
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...
environ 2 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 ...
environ 2 ans il y a
A résolu
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
environ 2 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.
environ 2 ans il y a
A résolu
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
environ 2 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...
environ 2 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...
environ 2 ans il y a
A résolu
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
environ 2 ans il y a
A résolu
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
plus de 2 ans il y a
A résolu
Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]
plus de 2 ans il y a
A résolu
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
plus de 2 ans il y a
A résolu
Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2
plus de 2 ans il y a
A résolu
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
plus de 2 ans il y a
A résolu
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
plus de 2 ans il y a
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
presque 3 ans 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
presque 3 ans il y a
A résolu
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
presque 3 ans il y a
A résolu
radius of a spherical planet
You just measured its surface area, that is the input.
presque 3 ans il y a
A résolu
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
presque 3 ans il y a
A résolu
Simple equation: Annual salary
Given an hourly wage, compute an annual salary
presque 3 ans il y a
A résolu
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
presque 3 ans il y a
A résolu
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
presque 3 ans il y a
A résolu
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
presque 3 ans il y a
A résolu
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...
presque 3 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 3 ans 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
presque 3 ans 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
presque 3 ans il y a

