Resuelto


the average value of the elements
Calculate the average value of the elements in the array

más de 5 años hace

Resuelto


to the 2 all elements
to the 2 all elements

más de 5 años hace

Resuelto


Duplicate all elements in the array
Duplicate all elements in the array

más de 5 años hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

más de 5 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

más de 5 años hace

Resuelto


Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

casi 6 años hace

Resuelto


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

casi 6 años hace

Resuelto


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

casi 6 años hace

Resuelto


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

casi 6 años hace

Resuelto


Transpose of matrix
Transpose of matrix as per test cases

casi 6 años hace

Resuelto


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

casi 6 años hace

Resuelto


Rounding
Round 10.67 and make 'y' equal to that number.

casi 6 años hace

Resuelto


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

casi 6 años hace

Resuelto


Matlab Basics II - Create a vector with a repeated entry
Create a row vector of length n, filled with 4's, for example, if n = 3 output = [4 4 4] make sure to round UP when n is a...

casi 6 años hace

Resuelto


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

casi 6 años hace

Resuelto


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

casi 6 años hace

Resuelto


Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

casi 6 años hace

Resuelto


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

casi 6 años hace

Resuelto


prime test
find largest 2 digit prime number

casi 6 años hace

Resuelto


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

casi 6 años hace

Resuelto


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

casi 6 años hace

Resuelto


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

casi 6 años hace

Resuelto


prime test 2
enter the only non prime,non composite number

casi 6 años hace

Resuelto


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

casi 6 años hace

Resuelto


Create vector as shown in test cases
Create vector as shown in test cases

casi 6 años hace

Resuelto


calculate Compound Intrest
Calculate Compound Intrest for given data

casi 6 años hace

Resuelto


Values in Array
How many values are in the array

casi 6 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

casi 6 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

casi 6 años hace

Resuelto


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

casi 6 años hace

Cargar más