Solved


N-Dimensional Array Slice
Given an N-dimensional array, _A_, an index, _I_, and a dimension, _d_, return the _I_ th elements of _A_ in the _d_ dimension. ...

1 month ago

Solved


MatCAT - Reconstruct X from Its X-rays
Consider a matrix x x = [ 1 2 0 0 5 0 3 0 8 ] If we sum x along the rows we get row_sums = [3 5 11] ...

1 month ago

Solved


matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

1 month ago

Solved


Matrix of Multiplication Facts
This is James's daughter again, sneaking into his Cody account. Thanks to your help in my math class last year, I did great! But...

1 month ago

Solved


Find the next Fibonacci number
In the sequence of Fibonacci numbers, every number is the sum of the two preceding ones: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55...

1 month ago

Solved


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

1 month ago

Answered
How to add custom location of Frame in a General Flexible Plate (or any flexible body)?
Hi @Soumya Kanti, You can absolutely add custom frames at specific locations on the General Flexible Plate without using Rig...

1 month ago | 0

Answered
How to add an image on top of geobasemap?
@Sim, I see what happened - in your case you do have the Mapping Toolbox (your geobasemap is working), but the original code syn...

1 month ago | 0

Answered
Run a simulink model on a texas instruments TMS320F28379D with c2000
@Anaïs, after thoroughly researching the MathWorks C2000 documentation including "Detect and Fix Task Overruns on Texas In...

1 month ago | 0

Answered
Steering System Rack and Pinion
Hi @Tran, I do appreciate your patience. After coming back from work and thoroughly examining your parameter file, analyzing ...

1 month ago | 0

| accepted

Answered
the dimension of matrix when using 'sparse' to generate sparse matrix
Hi @Li, After going through recent comments, I wanted to provide a clear explanation of the situation regarding 3D sparse mat...

1 month ago | 0

Solved


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

1 month ago

Solved


Find the definite integral of various linear functions
A definite integral had a minimum and maximum limit. When you solve this type of problem you must use both quad and the trapz fu...

1 month ago

Solved


How many days does the cat take to climb out of the hole?
A cat accidentally falls down a hole with sloping but rough sides. It can climb out of the hole of height h metres, but for ever...

1 month ago

Solved


Simple Interest : Calculate Future Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

1 month ago

Solved


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

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

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

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

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

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

2 months 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';

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

2 months ago

Solved


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

2 months 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__________...

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

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

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

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

2 months ago | 0

| accepted

Load more