A résolu


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

presque 8 ans il y a

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

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

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

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

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

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

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

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

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

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

presque 8 ans il y a

A résolu


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

presque 8 ans il y a

A résolu


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

presque 8 ans il y a

A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

presque 8 ans il y a

Réponse apportée
How to find the equation of a line for a 3d line plot
It is possible to get the equation of the line using the fit function. Assuming that the two position variables are x and y, and...

presque 8 ans il y a | 0

Réponse apportée
can someone please explain what is lag in matlab built in function xcov ? Thanks
[c,lags] = xcov(x,y,maxlags) where x and y are length m vectors, returns the cross-covariance sequence in a length 2*maxlags+1 v...

presque 8 ans il y a | 0

Réponse apportée
How do I subtract a bunch of data created in MATLAB from another source in Simulink?
Hi Aishwarya Your query was regarding subtraction of data in MATLAB workspace and a block in the Simulink environment. There ...

presque 8 ans il y a | 0

Réponse apportée
how do i plot equations
Hi Federico I understand that you wish to plot K against x. Normally, you should separate out one variable in terms of the ot...

presque 8 ans il y a | 0

Réponse apportée
Writing a struct into a text file (.sto file)
Hi I understand that you wish to convert a struct into a text file. Convert the struct to a table and then use the function w...

presque 8 ans il y a | 0

Réponse apportée
More effective code than loop that takes a lot of time
Hey Aletta Upon reading your question I get the impression that what you're trying to do is a typical database operation. You...

presque 8 ans il y a | 0

Réponse apportée
Needing help with Newton Raphson method
Hi You can try this code: function [xlist,err,iter] = newtonraphson(f,fprime,x0,tol,max_iter) xlist=[x0]; iter = 0; x...

presque 8 ans il y a | 0

Réponse apportée
I need help displaying the results of my equations
Hi Kevin I see you're trying to find a method to print your output in an organized way using tables. This can be done using M...

presque 8 ans il y a | 0

Réponse apportée
Why does my computer get freezing error when playing run button in simulink?
Hi I suggest you to contact MathWorks technical support for help. Go to the following link: <https://www.mathworks.com/sup...

presque 8 ans il y a | 0

Réponse apportée
Revolve 2D binary matrix around axis of symmetry to create 3D binary matrix
Hey I understand that you are looking to perform rotation of a matrix around an axis. I think this link can help you, althoug...

presque 8 ans il y a | 0

Réponse apportée
How do I delete this?
Hey I understand that you wish to fit two equations describing two different parts of the same dataset. I suggest that you br...

presque 8 ans il y a | 0

A résolu


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

presque 8 ans il y a

A résolu


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

presque 8 ans il y a

A résolu


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

presque 8 ans il y a

A résolu


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

presque 8 ans il y a

A résolu


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

presque 8 ans il y a

Charger plus