已回答
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...

13 years 前 | 0

| 已接受

已回答
cordic angles in hexadecimal format
See: doc num2hex Please note that your answers will be stored as strings.

13 years 前 | 0

已回答
HOw to interfacing matlab with gsm
See FEX submission: http://www.mathworks.com/matlabcentral/fileexchange/16649-send-text-message-to-cell-phone

13 years 前 | 0

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

13 years 前 | 0

| 已接受

已回答
Time delay
See: doc pause

13 years 前 | 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 ...

13 years 前 | 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 ...

13 years 前 | 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...

13 years 前 | 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...

13 years 前 | 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...

13 years 前 | 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.

13 years 前 | 16

| 已接受

已回答
matrix
Using find with two return parameters might make it easier. [row, col] = find(matrix == 90096);

13 years 前 | 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...

13 years 前 | 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...

13 years 前 | 0

已回答
if statement
Within an embedded matlab function you have to ensure all variables are set independent of execution path through the code. Whi...

13 years 前 | 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...

13 years 前 | 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.

13 years 前 | 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 ...

13 years 前 | 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 ...

13 years 前 | 0