Community Profile Last seen: 7 months ago Active since 2020

#### Statistics

• • • • • • • #### Content Feed

View by

Solved

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

11 months ago

Solved

Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

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

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

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months 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]

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

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

11 months ago

Solved

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

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

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months 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

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

11 months 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

11 months ago

Solved

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

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

11 months ago

Solved

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

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago