Solved


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

10 years ago

Answered
How to change grid dot-lines looks better?
Try this code ax = gca; ax.GridLineStyle = '-'

10 years ago | 0

Solved


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

10 years ago

Solved


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

10 years ago

Solved


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

10 years ago

Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

10 years ago

Solved


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

10 years ago

Solved


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

10 years ago

Solved


Calculate square and cube of number
Calculate square and cube of number x

10 years ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

10 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

10 years ago

Solved


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

10 years ago

Solved


Sum of integers numbers
Sum of the numbers from 1 to 100

10 years ago

Solved


Conversion from hours to mili sec
Convert given input in hours to mili seconds

10 years ago

Solved


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

10 years ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

10 years ago

Solved


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

10 years ago

Solved


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

10 years ago

Solved


Product of Array
Given an array of numbers. Get the product of the array.

10 years ago

Solved


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

10 years ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

10 years ago

Solved


Find the sum of n squares
What is the sum of the squares of the first n integers?

10 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

10 years ago

Solved


find minimum
find the minimum from an array

10 years ago

Solved


Find mean
given an array, find the mean of the number in that array

10 years ago

Solved


find max
You are given an array number find the maximum

10 years ago

Solved


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

10 years ago

Solved


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

10 years ago

Solved


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

10 years ago

Solved


find square root of a positive real number
a number given, find the square root of that number

10 years ago

Load more