해결됨

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

9년 이하 전

질문

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

9년 이하 전 | 답변 수: 5 | 4

답변 있음

A guide to Tags

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

A guide to Tags

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

9년 이하 전 | 1

답변 있음

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

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

9년 이하 전 | 0

질문

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

9년 이하 전 | 답변 수: 2 | 0

질문

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

9년 이하 전 | 답변 수: 2 | 0

질문

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

9년 이하 전 | 답변 수: 5 | 2

답변 있음

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

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

9년 이하 전 | 1

답변 있음

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

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

9년 이하 전 | 0

질문

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

9년 이하 전 | 답변 수: 3 | 1

질문

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

9년 이하 전 | 답변 수: 1 | 0

질문

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

9년 이하 전 | 답변 수: 2 | 0

해결됨

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년 이하 전

질문

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

9년 이하 전 | 답변 수: 0 | 0

질문

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

9년 이하 전 | 답변 수: 1 | 1

답변 있음

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

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

9년 이하 전 | 2

질문

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

9년 이하 전 | 답변 수: 2 | 0

답변 있음

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

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

9년 이하 전 | 0

답변 있음

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

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

9년 이하 전 | 1

답변 있음

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

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

9년 이하 전 | 0

해결됨

Getting logical indexes

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

9년 이하 전

해결됨

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

9년 이하 전

해결됨

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

9년 이하 전

해결됨

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

9년 이하 전

해결됨

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

9년 이하 전

해결됨

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

9년 이하 전

답변 있음

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

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

9년 이하 전 | 0

질문

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

9년 이하 전 | 답변 수: 2 | 0

답변 있음

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

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

9년 이하 전 | 0

답변 있음

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

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

9년 이하 전 | 0

| 수락됨