Solved


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

12 years ago

Question


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

12 years ago | 7 answers | 5

7

answers

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

12 years ago | 1

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

12 years ago | 0

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 5 answers | 2

5

answers

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

12 years ago | 1

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

12 years ago | 0

Question


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

12 years ago | 3 answers | 2

3

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 2 answers | 0

2

answers

Solved


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

12 years ago

Question


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

12 years ago | 0 answers | 0

0

answers

Question


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

12 years ago | 1 answer | 1

1

answer

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

12 years ago | 2

Question


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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

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

12 years ago | 1

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

12 years ago | 0

Solved


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

12 years ago

Solved


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

12 years ago

Solved


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

12 years ago

Solved


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

12 years ago

Solved


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

12 years ago

Solved


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

12 years ago

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

12 years ago | 0

Question


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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

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

12 years ago | 0

| accepted

Load more