解決済み


How long is the longest prime diagonal?
Stanislaw Ulam once observed that if the counting numbers are <http://en.wikipedia.org/wiki/Ulam_spiral arranged in a spiral>, t...

2年以上 前

解決済み


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

2年以上 前

解決済み


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

2年以上 前

解決済み


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

2年以上 前

解決済み


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

2年以上 前

解決済み


How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

2年以上 前

解決済み


Find the same and successive values in a vector
Find the same and successive values in a vector. For example: Input x = [ 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 ] Start and end...

2年以上 前

解決済み


Find Elements in Range
Based on a question on <http://www.mathworks.com/matlabcentral/answers/ MATLAB Answers>. Find all the elements of a vector wh...

2年以上 前

解決済み


longest sequence of nans
In an array return the length of longest sequence of nans for each column. x = [ 2 3 1 2 5 6; nan nan 5 n...

2年以上 前

解決済み


Solve the 2-norm Regularization Problem
In data fitting, regularization is a technique to stabilize an ill-posed problem. <https://en.wikipedia.org/wiki/Tikhonov_regula...

2年以上 前

問題


Solve the 2-norm Regularization Problem
In data fitting, regularization is a technique to stabilize an ill-posed problem. <https://en.wikipedia.org/wiki/Tikhonov_regula...

2年以上 前 | 0 | 4 個のソルバー

質問


Please Explain the new File Exchange Versioning Number
The new File Exchange versioning uses four numbers. Please explain what each number represents. For example, |2.1.4.2|.

2年以上 前 | 1 件の回答 | 0

1

回答

送信済み


Matlab Style Guidelines Cheat Sheet
One page summary of the "MATLAB Programming Style Guidelines"

2年以上 前 | ダウンロード 41 件 |

Thumbnail

質問


S-Function Backward Compatibility
Can an S-function compiled in 2018a be used in a model in 2013b? Please cite the documentation if you know the keywords to fi...

3年弱 前 | 1 件の回答 | 0

1

回答

質問


Reformulate a Constrained Linear Least Square Problem
I have a problem of the form <</matlabcentral/answers/uploaded_files/119361/Clipboard01.png>> Normally you solve it like t...

3年弱 前 | 2 件の回答 | 0

2

回答

解決済み


Split array into pieces according to corresponding array
An array x of length n has values 1...m with each value appearing at least once. The values are sorted (n>=m). A second...

3年弱 前

解決済み


Neither minima nor maxima
Input v is a vector. Return all the elements of v which are not a local minimum or maximum. Example: v = [1 2 3 4 5] Ou...

3年弱 前

解決済み


Find indices of diagonal elements
Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

3年弱 前

解決済み


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

3年弱 前

解決済み


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

3年弱 前

解決済み


Decimation - Optimized for speed
This problem is similar to http://www.mathworks.com/matlabcentral/cody/problems/1092-decimation, only this time the score will b...

3年弱 前

解決済み


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

3年弱 前

解決済み


Reference Index Number
Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly...

3年弱 前

解決済み


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

3年弱 前

解決済み


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

3年弱 前

送信済み


Persistent Data for Lookup Tables in Simulink
How to speed up Simulink models that use large lookup tables.

3年弱 前 | ダウンロード 1 件 |

Thumbnail

送信済み


Bessel Zero Solver
Finds the zeros of besselj and bessely in an ordered fashion. No zeros are missed.

3年弱 前 | ダウンロード 30 件 |

Thumbnail

質問


Bug Tracker for Simulation Models
I am looking at tracking bugs in simulation models and m code. Is there a bug tracker that you would recommend for use with MATL...

3年弱 前 | 1 件の回答 | 0

1

回答

回答済み
How can we generate code from simulink model by command line in windows?
See the simulink documentation. Specifically, <https://www.mathworks.com/help/simulink/functionlist.html?s_cid=doc_ftr Functi...

3年弱 前 | 0

回答済み
intersection mesh plot (3D)
Without more information, I can only provide hints. Here you go: * If the two surfaces can be thought of as mathematical func...

3年弱 前 | 1

| 採用済み

Load more