답변 있음
Plot Multiple Colours automatically in a for loop
I would suggest taking a look at the 'hold all' command. Just replace the line: hold on with: hold all That way ...

대략 14년 전 | 2

답변 있음
how can I use a name of an external variable in a function?
Do you mean something like this: function [] = savefigure( data, filename ) imagesc(data) saveas(1, filename, ...

대략 14년 전 | 0

답변 있음
source code
Depends on the function. Just type 'edit' before the function name to see if the source is visible to the end user. For example:...

대략 14년 전 | 0

답변 있음
Start Stop timer using counter in simulink
Just put an integrator within your enabled sub-system. Feed the integrator with a constant. Your output will then only ramp up w...

대략 14년 전 | 2

답변 있음
Simulink and Variable Sized Global Variables
I don't believe you can do this, at least not in an easy way. You might be better off looking into the possiblity of initialisin...

대략 14년 전 | 0

| 수락됨

답변 있음
cordic angles in hexadecimal format
See: doc num2hex Please note that your answers will be stored as strings.

대략 14년 전 | 0

답변 있음
HOw to interfacing matlab with gsm
See FEX submission: http://www.mathworks.com/matlabcentral/fileexchange/16649-send-text-message-to-cell-phone

대략 14년 전 | 0

답변 있음
Question matlab code
Try this: faceTemp = input('What is the temperature on the left face?'); The variable 'faceTemp' will now hold the numer...

대략 14년 전 | 0

| 수락됨

답변 있음
Time delay
See: doc pause

대략 14년 전 | 0

| 수락됨

답변 있음
Error in writing function file
Your function specifies 'k' as an output, yet within the function you use it as an input. There set 'k' as an input in addition ...

대략 14년 전 | 0

답변 있음
Simulink to matlab results display
Export the signals from Simulink by using the 'To Workspace' block. Set the save format as 'Structure With Time'. In Matlab you ...

대략 14년 전 | 3

| 수락됨

답변 있음
i have two tables, 1table is for power and other one is for area, if do have data in table 1
You could use one of Matlab's interpolation functions. Just ensure that your power and area tables are the same size. See: do...

대략 14년 전 | 0

| 수락됨

답변 있음
rectangular grid lines on root locus plot
Like this for example: num = [1]; den = conv ([1 0] , [1 4 8]); rlocus (num, den) set(gca,'XGrid','on') set(gca...

대략 14년 전 | 1

답변 있음
Windows® enviroment window control from matlab (activate window and enter commands)
I don't have Windows 7 to test this on, but this method works for Windows XP. To run a system command just append the command wi...

대략 14년 전 | 0

답변 있음
how to edit GUI .fig file ??
Start the GUI editor by typing: guide Click on the 'Open Existing GUI' tab, then click browse to select you .fig file.

대략 14년 전 | 16

| 수락됨

답변 있음
matrix
Using find with two return parameters might make it easier. [row, col] = find(matrix == 90096);

대략 14년 전 | 0

답변 있음
Array Division
Usually u/v is equal to u*inv(v) in matrix terms. However, since v does not have an inverse Matlab will calculate the Moore-P...

대략 14년 전 | 0

| 수락됨

답변 있음
How can I change the color of text?
The simple answer is that you can't, at least not using any standard Matlab commands. It is possible however to use Java to a...

대략 14년 전 | 0

답변 있음
if statement
Within an embedded matlab function you have to ensure all variables are set independent of execution path through the code. Whi...

대략 14년 전 | 1

답변 있음
Undefined function or variable 'fid' , but 'fid' isn't in any of the script files
The variable 'fid' is usually associated with file reading. You might want to start your search at those points in the code wher...

14년 초과 전 | 1

답변 있음
profiler causing severe slowdown
The Profiler will slow your system down. Only turn it on when you really need it. There is no way to avoid this slow-down.

14년 초과 전 | 2

답변 있음
simulate a variable from 0 to 255 in simulink
This setup should do what you need: Create a constant (1 for example), feed that into an integrator block, then feed that into ...

14년 초과 전 | 0

| 수락됨

답변 있음
Help writting a simple code!
You won't be able to write an infinite series directly. You will either have to use an approximation, or only calculate the sum ...

14년 초과 전 | 0