Statistics
RANK
2.199
of 292.766
REPUTATION
27
CONTRIBUTIONS
1 Question
10 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
4
RANK
of 19.936
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Simulink Project with R2010b
I think that Simulink Project first shipped with release 2011b. If you're asking if there is some way to add Simulink Project...
ongeveer 11 jaar ago | 0
| accepted
Question
Why isn't there a bsxfun block in Simulink?
Recently, I have found myself adding 1-line MATLAB Function Blocks to some models, of the form (though not necessarily always wi...
ongeveer 11 jaar ago | 1 answer | 1
1
answerSolving a Cubic Equation
The built-in function *roots* is what you're looking for.
meer dan 11 jaar ago | 0
| accepted
better way to improve performance of my code
Using varargin is what's killing you. You can get avoid this by constructing the cell array in the calling code, rather than re...
bijna 12 jaar ago | 0
Input parser: default argument depends on another required argument, how to do this?
function yourFunction(n, varargin) p = inputParser; p.addRequired('n', @(x)(true)); p.addParamValue('opt1', zer...
bijna 12 jaar ago | 0
How to define a variable that store its value after closing MATLAB file?
If you're getting undefined variable errors for something you thought was supposed to be a global, then you haven't defined it t...
bijna 12 jaar ago | 0
getting error Subscript indices must either be real positive integers or logicals.
I'm assuming that you are intending p to operate as a function, but maybe you are not passing in a function handle? Matlab ap...
ongeveer 12 jaar ago | 1
| accepted
structure in class
Have a look at inputParser. My typical class constructor goes something like this: function obj = myclass(varargin) p =...
ongeveer 12 jaar ago | 2
read data from filenames in dir structure with function
Is this the first line of read_datafiles.m ? function [data1 data2] = read_datafiles(files, PathName) I would guess t...
ongeveer 12 jaar ago | 0
| accepted
Slow down when accessing arrays
How much memory in your computer, and how big is N? If you run out of available physical memory, then you will spend a lot of t...
ongeveer 12 jaar ago | 0
Adding zeroes to Row Vector using a script
It would be simple if you guaranteed that numel(x)/M is always an integer, but without that guarantee: function y = zero_in...
ongeveer 12 jaar ago | 0
| accepted