Solved


An asteroid and a spacecraft
&#128640 Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...

21 days ago

Answered
the dimension of matrix when using 'sparse' to generate sparse matrix
Hi @li, I saw your question about MATLAB removing 3D sparse matrix support, and I wanted to help clarify what's happening. Bo...

22 days ago | 1

Answered
Copy Legend from UIAxes to another UIAxes
Hi @Jason, I've looked into the legend and color issues you're having when copying plots from UIAxes3 to a new figure, and he...

22 days ago | 0

| accepted

Answered
Sharpening a 2D histogram and finding peaks
Hi @Jim McIntyre, I've been looking at your sharpening problem and I think I have something that addresses what you're asking...

24 days ago | 0

| accepted

Answered
How do I apply the same operation on vectors of different length but of similar name?
Hi @Henning, I wanted to address your question about calculating means for your 50 column vectors and clear up some confusion...

25 days ago | 1

| accepted

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

25 days ago

Solved


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

25 days ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

25 days ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

25 days ago

Solved


Altitude of locations on the earth
Find the altitude of a location on the earth, given latitude and longitude coordinates, above mean sea level. Input__________...

25 days ago

Solved


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

25 days ago

Solved


Determine if a Given Number is a Triangle Number
*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

25 days ago

Solved


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

25 days ago

Answered
confidence interval from lsqnonlin function while retaining constraints
@ke an, I saw your question and thought I'd chime in. @Torsten and @Star Strider are absolutely right that the standard Jacobia...

26 days ago | 0

| accepted

Solved


Clueless - Lord Ned in the Game Room with the Technical Computing Language
[Warning: this is a nontrivial programming problem] Worried about the decline in reasoning skills in the clueless populace of...

26 days ago

Solved


03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

27 days ago

Solved


03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

27 days ago

Solved


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

27 days ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

27 days ago

Solved


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

27 days ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

27 days ago

Solved


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

27 days ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

27 days ago

Solved


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

27 days ago

Solved


05 - Vector Equations 3
Define the vector _dVec_: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 10) ...

27 days ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

27 days ago

Solved


Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

27 days ago

Solved


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

27 days ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

27 days ago

Load more