Risolto


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

quasi 10 anni fa

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

quasi 10 anni fa | 0

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


find minimum
find the minimum from an array

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


find max
You are given an array number find the maximum

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Carica altro