Feeds
제출됨
Actuator Disc Momentum Theory, with Inverse
Actuator Disc Momentum Theory with Inverse Formulation
12개월 전 | 다운로드 수: 2 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/2c08bc1f-5f98-4b12-bba2-ae84d3a775d8/708219ea-3712-4615-8953-72c24098b1c7/images/1709577961.png)
제출됨
is___ - isodd, ispositive, isint, isnatural, etc.
A small set of simple is___ utility functions convenient to have on the path.
대략 2년 전 | 다운로드 수: 4 |
문제를 풀었습니다
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
2년 초과 전
문제
Create spiral matrices
Create a matrix of a given size with sequential elements spiraling inward. For matrix height m and width n, the output should ...
2년 초과 전 | 0 | 솔버 수: 3
문제를 풀었습니다
Return the middle element of an NxN square matrix where N is odd
Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...
2년 초과 전
문제를 풀었습니다
ZigZag - 04
Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...
2년 초과 전
문제를 풀었습니다
Wind outward from the center ...
Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...
2년 초과 전
제출됨
Piecewise and blended functions
Create piecewise functions or smoothly blend functions.
3년 초과 전 | 다운로드 수: 2 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/e5ec4aec-98a8-45b0-ab95-c8aa86cab829/270a970e-3759-4c3a-89b4-0e94c6aa1b40/images/screenshot.png)
답변 있음
Randomly select a number from a column of a stored matrix, stores the respective row
You can use randi to randomly generate the index you need, rowInd = randi(256,1); then use that index to pull out the row from...
Randomly select a number from a column of a stored matrix, stores the respective row
You can use randi to randomly generate the index you need, rowInd = randi(256,1); then use that index to pull out the row from...
3년 초과 전 | 1
| 수락됨
제출됨
Physical Units Toolbox
Enables operations using hundreds of supported physical units of measurement and physical constants.
거의 4년 전 | 다운로드 수: 21 |
제출됨
Alert Checking
Check Matlab code that is supposed to throw errors or warnings.
거의 4년 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/bfd371ca-b07b-441d-92ca-c8d26e94fb9c/6f66acc9-127f-475f-821e-b91b7dc3d084/images/1617937205.png)
제출됨
Standard Atmosphere Functions
Standard atmosphere gas properties. Support for n-dim inputs, non-standard atmospheres, units, etc.
대략 4년 전 | 다운로드 수: 36 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/e5723423-4a80-11e4-9553-005056977bd0/441f4fee-7d35-4e2a-8524-feef8eeb7b84/images/screenshot.jpg)
제출됨
Link
Similar to a character string, but displays itself in the command window as a clickable link.
4년 초과 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/988d0731-f074-4cd9-9eff-cea5ac138e9f/efd70de3-7718-4a46-86e6-4ac3665f9648/images/screenshot.jpg)
답변 있음
Plot x^2+y^2=4
There are a few ways to go about this. One that is somewhat agnostic to what the equation is trying to represent (in this case, ...
Plot x^2+y^2=4
There are a few ways to go about this. One that is somewhat agnostic to what the equation is trying to represent (in this case, ...
거의 5년 전 | 1
| 수락됨
답변 있음
select random number from an array with probabilities
You can query the cumulative probabilities: S = [4, 3.9, 3.8]; w = [0.5, 0.4, 0.1]; w = w/sum(w); % Make sure probabilites ad...
select random number from an array with probabilities
You can query the cumulative probabilities: S = [4, 3.9, 3.8]; w = [0.5, 0.4, 0.1]; w = w/sum(w); % Make sure probabilites ad...
거의 5년 전 | 1
답변 있음
get the x-value of a point on curve
This is a table lookup / interpolation problem. For your data, you'll first have to make sure there aren't any repeated y values...
get the x-value of a point on curve
This is a table lookup / interpolation problem. For your data, you'll first have to make sure there aren't any repeated y values...
거의 5년 전 | 5
답변 있음
how do i open a browser in matlab ?
Use uigetfile: https://www.mathworks.com/help/matlab/ref/uigetfile.html Or if you have the toolbox, help uigetimagefile
how do i open a browser in matlab ?
Use uigetfile: https://www.mathworks.com/help/matlab/ref/uigetfile.html Or if you have the toolbox, help uigetimagefile
거의 5년 전 | 0
답변 있음
Size of a figure that I copy from Matlab to Powerpoint
I find that MS products sometimes have behavior as though they're taking a guess at what the pasted figure size should be. I fin...
Size of a figure that I copy from Matlab to Powerpoint
I find that MS products sometimes have behavior as though they're taking a guess at what the pasted figure size should be. I fin...
거의 5년 전 | 0
답변 있음
How can I create a 3D plot of data with dots of different color?
Use a scatter plot and CData: n = 100; xData = 1:n; % Placeholder - I assume you have additional information about the data to...
How can I create a 3D plot of data with dots of different color?
Use a scatter plot and CData: n = 100; xData = 1:n; % Placeholder - I assume you have additional information about the data to...
거의 5년 전 | 0
답변 있음
How to create an object using class name
A quick and dirty approach that will work in many cases is to use eval: function new = createNewObjectOfThisClass(original) ne...
How to create an object using class name
A quick and dirty approach that will work in many cases is to use eval: function new = createNewObjectOfThisClass(original) ne...
거의 5년 전 | 0
답변 있음
Converting a row to diagonal matrix
Another guess at the intended meaning of the question could be that the values should be filled along the diagonals (instead of ...
Converting a row to diagonal matrix
Another guess at the intended meaning of the question could be that the values should be filled along the diagonals (instead of ...
거의 5년 전 | 0
제출됨
MATLAB Style Guide Wiki access and search function
Tips for writing clear code. Search the MATLAB Programming Style Guide Wiki from the command line.
대략 5년 전 | 다운로드 수: 4 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/e597c0f7-4a80-11e4-9553-005056977bd0/4580d26a-ca44-4208-a1e3-11c7a3ad6135/images/screenshot.png)
제출됨
fig - faster, more intuitive alternative to figure function
Manage figure windows by name and prevent figure window clutter.
5년 초과 전 | 다운로드 수: 1 |
제출됨
Bisection Method Root Finding
Very simple to use and robust method that takes array inputs, so it even has advantages over fzero.
5년 초과 전 | 다운로드 수: 21 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/e5723ae7-4a80-11e4-9553-005056977bd0/e28f6f3d-fd1e-4623-a40a-d9152b247fef/images/screenshot.png)
제출됨
File Exchange Library Builder
A tool to download your favorite files (or necessary project dependencies) from the File Exchange.
5년 초과 전 | 다운로드 수: 3 |
제출됨
Pseudorandom number generation for engineering estimates
Tools for generating pseudorandom numbers, primarily geared toward making engineering estimates.
대략 6년 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/20ea1018-e254-494d-b0bd-5de60c7e521d/2a328ed9-1352-456a-8fe2-e6b386612869/images/screenshot.png)
제출됨
Matrix plotting
Plot using single 2 x n (or 3 x n) matrices as inputs instead of x, y, (and z) vectors.
대략 7년 전 | 다운로드 수: 1 |
질문
What method do I overload to control display behavior in the workspace window?
When using a subclass of double (for example the ExtendDouble class from the <https://www.mathworks.com/help/matlab/matlab_oop/b...
7년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
X Y Z coordinates matrix
You can use the |cat| command to 'stack' your three 2d matrices into a single 3d matrix: M = cat(3,x,y,z); This will giv...
X Y Z coordinates matrix
You can use the |cat| command to 'stack' your three 2d matrices into a single 3d matrix: M = cat(3,x,y,z); This will giv...
7년 초과 전 | 0
| 수락됨
답변 있음
Generate Random numbers from a 2 D probability density function
Conceptually, you can generate random numbers for any arbitrary distributions by # Converting the pdf to a cdf. # Generating...
Generate Random numbers from a 2 D probability density function
Conceptually, you can generate random numbers for any arbitrary distributions by # Converting the pdf to a cdf. # Generating...
7년 초과 전 | 0