![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2940731_1513770917513.png)
Al Dente
Followers: 0 Following: 0
There is a very useful but undocumented feature in simulink/matlab programming: get_param(, 'TraceDestinationInputPorts') and get_param(, 'TraceSourceOutputPorts') Also remember this: "setappdata"
統計
All
Feeds
解決済み
Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...
9年弱 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
9年弱 前
回答済み
How do I assign a column of a matrix as another matrix?
if z was matrix that looks like this: z = [1 2 3; 4 5 6; 5 6 0; 7 0 0; 0 0 0] I could get all the columns (positive numb...
How do I assign a column of a matrix as another matrix?
if z was matrix that looks like this: z = [1 2 3; 4 5 6; 5 6 0; 7 0 0; 0 0 0] I could get all the columns (positive numb...
9年弱 前 | 0
回答済み
having problem with mvnrnd...
matlab is basically telling you that it can't find the function: which mvnrnd will probably result in: 'mvnrnd' not foun...
having problem with mvnrnd...
matlab is basically telling you that it can't find the function: which mvnrnd will probably result in: 'mvnrnd' not foun...
約9年 前 | 0
| 採用済み
解決済み
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
約9年 前
回答済み
How can I convert following script to function?
function xxx(image,p) a=imread(image); [m n] = size(a); % remove this line p = 2; if you don't w...
How can I convert following script to function?
function xxx(image,p) a=imread(image); [m n] = size(a); % remove this line p = 2; if you don't w...
約9年 前 | 0
| 採用済み
解決済み
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
約9年 前
解決済み
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
約9年 前
解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
約9年 前
解決済み
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
約9年 前
解決済み
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
約9年 前
回答済み
No line on graph
your function: z = @(t)(((-0.005*pi*sqrt(5)*t)./2)+(2*sqrt(5)).^2); z(0:37.3) % would output values in the range of 19.3 t...
No line on graph
your function: z = @(t)(((-0.005*pi*sqrt(5)*t)./2)+(2*sqrt(5)).^2); z(0:37.3) % would output values in the range of 19.3 t...
約9年 前 | 0
回答済み
MATLAB function to get all dependent .m files to generate exe using MATLAB 2013b
This might help: profile on -history; % your code here profile viewer; p = profile('info'); It will give you al...
MATLAB function to get all dependent .m files to generate exe using MATLAB 2013b
This might help: profile on -history; % your code here profile viewer; p = profile('info'); It will give you al...
約9年 前 | 1
回答済み
I am new to Matlab and my objective is to use the NN Toolbox for my project. How to use the NNtoolbox
try this: nntool
I am new to Matlab and my objective is to use the NN Toolbox for my project. How to use the NNtoolbox
try this: nntool
約9年 前 | 0
回答済み
Reference an excel workbook that's already open
actually XLex.ActiveWorkbook would give you a handle to the currently active workbook you can even XLex.Active...
Reference an excel workbook that's already open
actually XLex.ActiveWorkbook would give you a handle to the currently active workbook you can even XLex.Active...
約9年 前 | 0
| 採用済み
回答済み
replace matlab function with algorithm
your tags say prime, so I assume you want to find out prime numbers: isprime(i)~=0 would that be the answer to your ...
replace matlab function with algorithm
your tags say prime, so I assume you want to find out prime numbers: isprime(i)~=0 would that be the answer to your ...
約9年 前 | 0
回答済み
How can I get this example?
try looking in this folder you might find something, I'm assuming you have Simulink Design Optimization: winopen([matlabroo...
How can I get this example?
try looking in this folder you might find something, I'm assuming you have Simulink Design Optimization: winopen([matlabroo...
約9年 前 | 0
質問
how do I "locate file on disk" using matlab?
The answer is system(['explorer /select,' fullfilepath_here]) question is: is there a matlab function that one can use instea...
9年以上 前 | 1 件の回答 | 0
1
回答回答済み
How to get the handle of simulink window in matlab
you can try using findall(0) -- root matlab handle, then looping over all the handles to find the right handle. What I wanted to...
How to get the handle of simulink window in matlab
you can try using findall(0) -- root matlab handle, then looping over all the handles to find the right handle. What I wanted to...
9年以上 前 | 1
解決済み
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
10年以上 前
解決済み
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
10年以上 前
解決済み
Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!
10年以上 前
解決済み
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
10年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
10年以上 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
10年以上 前
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
10年以上 前