Statistiques
RANG
N/A
of 301 947
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 470
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
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,2,3]; Returns 1.
5 jours il y a
A résolu
Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...
7 jours il y a
A résolu
Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2
7 jours 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
9 jours 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".
9 jours il y a
A résolu
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
9 jours 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.
10 jours il y a
A résolu
Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2
12 jours il y a
A résolu
Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...
12 jours il y a
A résolu
Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.
14 jours il y a
A résolu
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input is n=4 th...
20 jours il y a
A résolu
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
20 jours il y a
A résolu
Simple equation: Annual salary
Given an hourly wage, compute an annual salary
20 jours 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
20 jours il y a
A résolu
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
20 jours il y a
A résolu
Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000
20 jours 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
20 jours 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...
20 jours 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
21 jours il y a
A résolu
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
21 jours il y a
A résolu
0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.
27 jours il y a
A résolu
Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.
27 jours il y a
A résolu
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
27 jours 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 ...
27 jours il y a
A résolu
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
27 jours 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...
27 jours il y a










