A résolu


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

plus de 5 ans il y a

A résolu


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

plus de 5 ans il y a

Réponse apportée
How do I write files in NITF format?
Take a look at this link.

plus de 5 ans il y a | 0

Réponse apportée
Upgrade MATLAB from r2013b to r2017b problem.....
I don't know when element-wise operation was released nor it always has been there. A = [1, 2; 3, 4] B = A^2 C = A.^2 No...

plus de 5 ans il y a | 0

| A accepté

A résolu


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

plus de 5 ans il y a

A résolu


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

plus de 5 ans il y a

A résolu


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

plus de 5 ans il y a

A résolu


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

plus de 5 ans il y a

A résolu


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

plus de 5 ans il y a

A résolu


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

plus de 5 ans il y a

A résolu


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

plus de 5 ans il y a

A résolu


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

plus de 5 ans il y a

A résolu


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

plus de 5 ans il y a

A résolu


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

plus de 5 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

plus de 5 ans il y a

A résolu


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

plus de 5 ans il y a

A résolu


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

plus de 5 ans il y a

Réponse apportée
Access MATLAB out of intitute
Good to follow Sindar´s sugestion. But my exp was different: If you have MATLAB installed in your notebook/computer with an aca...

plus de 5 ans il y a | 0

Réponse apportée
How to plot a horizontal line?
y = 0:0.1:110; x = 2050.* ones(length(y)); plot(y,x) xlim([1 110])

plus de 5 ans il y a | 1

Réponse apportée
loop and array for sum
s = s + sum(magnitude(i:i+1000)); would it work?

plus de 5 ans il y a | 0

Réponse apportée
How to input solution for the matrix in for loop.
Not sure where your variable w came from. MATLAB does not reccommend using inline anymore, according to its documentation. It ...

plus de 5 ans il y a | 0

Réponse apportée
Cannot open DICOM file
If dicomread didn't show any errors, try this after reading them again: figure imshow(yourDicom, 'DisplayRange', []); I did n...

plus de 5 ans il y a | 0

Réponse apportée
how can I obtain hounsfield units(HU) from a .dcm image?
After loading your image: yourImage = dicomread('yourImage.dcm'); You can go straight to info = dicominfo('yourImage.dcm'); ...

plus de 5 ans il y a | 2

| A accepté

Réponse apportée
Can't use mex function in Macbook with MATLAB R2018b
I think you're supposed to compile your mex files for macOS so you get mexmaci64 files. Check here to see if that's the problem...

plus de 5 ans il y a | 0

Réponse apportée
Matlab operation in macOS
Try opening your terminal, then type: cd /Applications/MATLAB_R2019b.app/bin type ./matlab Are you using some academic lic...

presque 6 ans il y a | 0

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

presque 6 ans il y a

Réponse apportée
How to use negative index ranges in for loop?
It's not possible. if you want to run a for loop like you showed in your example ranging from -5 to + 5 By doing like this, yo...

presque 6 ans il y a | 1

Réponse apportée
Basic understanding on matlab
How did you get A*B = [9 12; 9 12] ? with your values for A and B, A*B = [19 22; 43 50] . Even doing element-wise (A.*B) is = ...

presque 6 ans il y a | 0

Réponse apportée
I got subscript indices must be real positive integers or logicals on my code
What is C? I suppose your original image to be equalized is img. So is C any function applied in img? If that's not the case, ...

presque 6 ans il y a | 0

Réponse apportée
How do i deal with argument error?
You can always debug using dbstop in your line you are having errors. Another way is by getting one value of confortTier and cu...

presque 6 ans il y a | 0

Charger plus