Christopher Berry
MathWorks
Followers: 0 Following: 0
I love all things code. However, Simulink is growing on me.
Professional Interests: Embedded Systems, FPGA, HDL, Code Generation
Statistics
0 Questions
31 Answers
RANK
774
of 295.467
REPUTATION
96
CONTRIBUTIONS
0 Questions
31 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
24
RANK
of 20.234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153.912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Linking projects together in Simulink project
There are a couple of options for what you are describing, depending on your needs. The easiest, would be to use what is called ...
ongeveer 10 jaar ago | 0
how can i convert irregularly placed space data into 3d grid
Enkuneh, I just answered a very similar question about this same topic - irregular to regular 3D data transformation. Check o...
meer dan 10 jaar ago | 2
Creating a 3d volumetric matrix for irregular xyz data with multiple depths
Jenny, It seems like you just need to map your nodes to the input arguments for |scatteredinterpolant|. For an irregular grid...
meer dan 10 jaar ago | 5
Mutual array between matrixes ( complete )
I think that your algorithm description and examples values are contradictory, so its hard to answer this exactly. But, I will s...
meer dan 10 jaar ago | 0
how to get values of a matrix in MATLAB where the indices are given in a MATRIX form?
Valeria, You can access a subset of the rows (but all of the columns) by converting the column indexes returned by |sort| int...
meer dan 10 jaar ago | 1
How do I invoke a shadowed core MATLAB function (not built-in) from an overloaded function of same name
Julian, I think you had the right idea with the |run| command to call |print|, but use the fullpath instead of |cd| into the ...
meer dan 10 jaar ago | 0
read a large prime number(which is in hexadecimal form) from a file and store that in a global variable(integer form)
Anil, Your prime number is a 192 character hexadecimal number, so that is roughly |2^768| in size. This is much bigger than t...
meer dan 10 jaar ago | 1
Bootstrap with observations not being rows
Fernando, The function |bootstrp| will take in a column vector of |cells| as well as a standard vector/matrix of |doubles|. ...
meer dan 10 jaar ago | 0
| accepted
create a loop using regexp
You can do this with regular expressions, but your name requirements seem simple enough to do with |dir| and |sprintf| instead. ...
meer dan 10 jaar ago | 0
How can I plot trajectories on top of a map?
The Mapping toolbox has a number of great functions to help out with exactly this type of thing. If you just want the specifi...
meer dan 10 jaar ago | 1
| accepted
Accessing sparse matrix components in MATLAB
As far as I can tell (from looking through the documentation) there is not a quick and easy way to get access to sparse competen...
meer dan 10 jaar ago | 0
Several draws from multivariate normal distribution
Cris, Since your |sigma| matrix is diagonal, there is no need to use a multivariate distribution - your variables are complet...
meer dan 10 jaar ago | 3
| accepted
Several draws from multivariate normal distribution
The function you are looking for is |mvnrnd|. You will still have to call |mvrnd| one distribution at a time, and hence looping ...
meer dan 10 jaar ago | 0
Plotting higher-dimensional data in two-dimensions which has already processed using supervised learning
James, I think what you might be looking for is |scatter| coupled with specifying the |MarkerColor| as a vector corresponding...
meer dan 10 jaar ago | 0
| accepted
How to select specific rows with a certain range/certain value in another row?
Pinga, 1. To get |Data| as a 1x90 cell array, use the following code: Data = Data{1}(1:90) There are two ways to ref...
meer dan 10 jaar ago | 0
| accepted
Control Simulibk step size through an internal coondition
Anfanger, In order for the parameters |MinStep| and |MaxStep| to be enabled, the solver |Type| must be |VariableStep|. If y...
meer dan 10 jaar ago | 0
Comparing accuracy of symbolic computation with matlabFunction
Hari, It seems you have answered your own question here, but just to clarify on the issue of accuracy, I will add a little to...
meer dan 10 jaar ago | 1
| accepted
How to get rid of zeros in data?
I think you were on the right track with Conversion_Eff=Conversion_Eff(Conversion_Eff~=0); Accel=Accel(Conversion_Eff~=...
meer dan 10 jaar ago | 0
| accepted
Switch block need help
Adham, The documentation for this block is a bit confusing. Think of it as an |if-else|, which may make more sense if you hav...
meer dan 10 jaar ago | 0
| accepted
How to implement a simulink model to perform Matrix multiplication ?
Matrix multiplication in Simulink is almost as easy as it is in MATLAB itself. See the block diagram below: <</matlabcentra...
meer dan 10 jaar ago | 1
How can I use fprintf to save a txt file with different size matrix ?
One way you might do this is to use |if-else| statements around your |fprintf|, like this: fprintf(fid, '%d\t', Ultratimefin...
meer dan 10 jaar ago | 2
| accepted
Placing a Title on Bounding Box
What you are looking for is either |annotation|. You can also you |sprintf| to get the string formatted with the information yo...
meer dan 10 jaar ago | 2
Is there a faster way to plot wireframe cubes from their centers and sizes?
If all you need is truly a wireframe cube, then you can speed things up a quite a bit by using only lines and avoiding patches a...
meer dan 10 jaar ago | 0
I have some force data and corresponding time data. How to remove vibration signal from force data?
Since there is a "gap" between your desired signal and the unwanted vibrations, the simplest way to do what you are describing i...
meer dan 10 jaar ago | 0
How can I plot two arrays with different number of columns in one figure with different colours?
MATLAB uses (row,column) indexing, so I think you've got it backwards in your examples A and B :) But, assuming you want to...
meer dan 10 jaar ago | 0
how to plot struct data?
The |simout| structure has |simout.signals|, |simout.time| and |simout.blockName| fields. The |simout.signals| field also has a...
meer dan 10 jaar ago | 3
| accepted
Multiple Text files to Labeled matrix/array
It sounds like you really should be using a |table| data type. Take a look at some of the examples on the document page here: ...
meer dan 10 jaar ago | 0
Adjusting the numbers in a string
Will, You can use |sprinf| to create the file name strings and |%03d| to get up to 3 leading zeros. For example >> spri...
meer dan 10 jaar ago | 1
How to reshape a vector without knowing the dimensions?
Using |reshape| with only 2 dimensions specified will work only if the number of elements is such that the 3rd dimension fits ex...
meer dan 10 jaar ago | 1
| accepted
How to calculate integral of a function ?
The function name that you are looking for is |integral| not |int|. Changing this should get your code working. You can see the...
meer dan 10 jaar ago | 0