Problema


Solve cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

casi 10 años hace | 1 | 128 solvers

Resuelto


ESEMPIO
controllo uso funzioni

casi 10 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

casi 10 años hace

Resuelto


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

casi 10 años hace

Problema


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

casi 10 años hace | 0 | 105 solvers

Resuelto


Calculate the hypotenuse of a right triangle
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

casi 10 años hace

Resuelto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

casi 10 años hace

Resuelto


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

casi 10 años hace

Resuelto


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

casi 10 años hace

Resuelto


This is just like your weight :)
Imagine your weight as a sawtooth wave appended with a slope It varies yet the trend is increasing :) Decode the values throug...

casi 10 años hace

Resuelto


Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave

casi 10 años hace

Resuelto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

casi 10 años hace

Resuelto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

casi 10 años hace

Resuelto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

casi 10 años hace

Resuelto


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

casi 10 años hace

Resuelto


Create sine function out of cosine
Please don't use sin(x) directly

casi 10 años hace

Resuelto


Create tangent function out of sin and cos
Please don't use tan(x) directly

casi 10 años hace

Resuelto


Create tangent function out of sine function only
Please don't use cosine and tangent functions

casi 10 años hace

Resuelto


Create cosine function out of sine
Please dont use cos(x) directly

casi 10 años hace

Resuelto


Create tangent function out of cosine only
Please don't use tangent and sine functions

casi 10 años hace

Resuelto


Super Basic - 3 + true equals ??
Solve the title

casi 10 años hace

Resuelto


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

casi 10 años hace

Resuelto


Convert radians to degrees
Given input in radians, output to degrees

casi 10 años hace

Resuelto


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

casi 10 años hace

Resuelto


07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

casi 10 años hace

Resuelto


07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

casi 10 años hace

Cargar más