已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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 ...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已回答
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...

7 years 前 | 0

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

加载更多