Gelöst


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...

fast 14 Jahre vor

Frage


Would you use Matlab Central in a job search?
If you have used Matlab Central in a job search, I am curious how. The main way I can think of is to trying to recruit someone w...

fast 14 Jahre vor | 7 Antworten | 5

7

Antworten

Beantwortet
A guide to Tags
*Tags dealing with Simulink* * "algebraic loop" * "scope" * "findvars" * "set_param" and "get_param" * "sim" * "existing...

fast 14 Jahre vor | 1

Beantwortet
Is it possible to read data from .dat or .m file for an intial value of IC block in simulink?
Or you can write a mfile script to read in the stored values from a mat file (or just write them into the mfile), use the <http:...

fast 14 Jahre vor | 0

Frage


Build matrix from an unknown number of parameters
Consider a model study which varies several different parameters, for example a study of building temperature in which parameter...

fast 14 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Slow Matlab startup if startup.m contains many path additions
I am asking/answering my own question, hoping it will help someone with the same issue: If Matlab takes 3+ minutes to start u...

fast 14 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Answering my own question
Is it OK to ask and answer my own question, with the intent of showing the community how to do something useful? In this situati...

fast 14 Jahre vor | 5 Antworten | 2

5

Antworten

Beantwortet
Slow Matlab startup if startup.m contains many path additions
Most of the 3 minutes were spent generating Matlab's path, but it is not necessary to generate the path at each startup. Instead...

fast 14 Jahre vor | 1

Beantwortet
chop a 1-D vector
If you want to select the third through last values of your vector within Simulink, you can use the <http://www.mathworks.com/h...

fast 14 Jahre vor | 0

Frage


What is the flag button on questions for?
A new option has appeared on questions: a little flag that I assume a reader can push to flag the question. *What does this flag...

fast 14 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


Why would a poster put specific contributer names in the question tag?
In posts such as <http://www.mathworks.com/matlabcentral/answers/28490-actuating-joints-with-offline-computed-torque this>, the ...

fast 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Max in bin using histc
I performed several tests to measure how y depends on x. I repeated the value of x in some of the tests. If x was repeated, the ...

fast 14 Jahre vor | 2 Antworten | 0

2

Antworten

Gelöst


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 ...

fast 14 Jahre vor

Frage


Line plots appear blocky
I have a figure containing several (4) subplots. Each subplot contains a line plot of about 5000 data points. The measured data...

fast 14 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Find index to x,y pairs
I have two vectors xEdges and yEdges which define positions in the x,y plane. In the example below, the lower left location valu...

fast 14 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
Set Simulink variable with m file
You can use the <http://www.mathworks.com/help/toolbox/simulink/slref/set_param.html set_param> command within a mfile script to...

fast 14 Jahre vor | 2

Frage


Minimizing mean square error for a body tracking problem
Seeking big-picture suggestions on how to tackle the following problem: I have measurements of the positions of 4 marker locat...

fast 14 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Tool for showing difference b/w two simulink model
TAB's answer is right. But I wanted to mention: if the models are both simple and you know what change to look for (i.e. what te...

fast 14 Jahre vor | 0

Beantwortet
[DISCONTINUED] Wish-list for MATLAB Answer sections.
My wish: something to make it easy to link terms to Matlab documentation as someone is posting a question. I read Answers to lea...

fast 14 Jahre vor | 1

Beantwortet
how to make my simulation of photovoltaic with constant power load work..
It sounds like you are dividing by zero at the first time step, so make sure the initial condition of the signal that is being d...

fast 14 Jahre vor | 0

Gelöst


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

fast 14 Jahre vor

Gelöst


Getting the row and column location from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get <http://www.mathwo...

fast 14 Jahre vor

Gelöst


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

fast 14 Jahre vor

Gelöst


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

fast 14 Jahre vor

Gelöst


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

fast 14 Jahre vor

Gelöst


Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

fast 14 Jahre vor

Beantwortet
Path management for different versions of projects
There is a nice presentation on smart ways to manage directories for a scientific project <http://software-carpentry.org/4_0/dat...

fast 14 Jahre vor | 0

Frage


Where is PDF version of the DSP Reference manual?
I like having PDF version of Mathwork's manuals to mark up as I learn. In a <http://www.mathworks.com/matlabcentral/answers/3894...

fast 14 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
how to display the results from simulink in a table
If you do not need your table displayed in real time, you could complete the simulation, save the results to a mat file using th...

fast 14 Jahre vor | 0

Beantwortet
Some questions about simulink.
Yes, it is possible to run a Matlab script to execute simulations using the sim command. And if the variables that you want to l...

fast 14 Jahre vor | 0

| akzeptiert

Mehr laden