Community Profile

##### Last seen: circa un mese ago
180 total contributions since 2020

View details...

Contributions in
View by

Solved

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

5 mesi ago

Solved

Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

5 mesi ago

Solved

Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

5 mesi ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

5 mesi ago

Solved

Powers Of
Fill the vector with powers of 2, so that vector(1) is 2^1, vector(2) is 2^2, etc. Stop with vector(10). Complete the function ...

5 mesi ago

Solved

Max of a Vector
Write a function to return the max of a vector

5 mesi ago

Solved

Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

5 mesi ago

Solved

Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

5 mesi ago

Solved

Times 3 problem
When you enter the number, it should return the number multiplied by 3

5 mesi ago

Solved

Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

5 mesi ago

Solved

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

5 mesi ago

Solved

Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

5 mesi ago

Solved

Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

5 mesi ago

Solved

Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

5 mesi ago

Solved

pressure to dB?
given x ratio of pressure, find corresponding y dB

5 mesi ago

Solved

Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

5 mesi ago

Solved

Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

5 mesi ago

Solved

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

5 mesi ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

5 mesi ago

Solved

find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

5 mesi ago

Solved

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 ...

5 mesi ago

Solved

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

5 mesi ago

Solved

Reverse a matrix
Its simple. You have to reverse a given matrix.

5 mesi ago

Solved

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

5 mesi ago

Solved

Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

5 mesi ago

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

5 mesi ago

Solved

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

5 mesi ago

Solved

y equals x divided by 2
function y = x/2

5 mesi ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

5 mesi ago