已回答
How to use the Finite Difference Method to get the gradient?
Have you looked at the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/gradient.html |gradient|> function? Arnaud

13 years 前 | 1

已回答
plotting data with and without errorbars
Use <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/errorbar.html |errorbar|>: X = 0:pi/10:pi; Y = sin(X); E =...

13 years 前 | 0

| 已接受

已回答
Obtaining a path name and using it
source_dir = uigetdir(); %Folder with the *.tif files cd(source_dir); %Changes folder to chosen folder mkdir('Target'); d...

13 years 前 | 1

| 已接受

已回答
vector display
Have a look at the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/format.html |format|> function, for example try: ...

13 years 前 | 0

| 已接受

已回答
automatic save images
See: * <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F How can I create variab...

13 years 前 | 0

已回答
how to simulate dinamic load in simpowersystem
Have a look at this <http://www.mathworks.com/support/solutions/en/data/1-1BDGS/ technical solution>. HTH, Arnaud

13 years 前 | 0

已回答
Discrete equation with two unknown variables
This can be rewritten as: a*x1^2 - b*y1 = y1 a*x2^2 - b*y2 = y2 or in matrix form: A * [a b]' = [y1 y2]' where:...

13 years 前 | 2

| 已接受

已回答
saving figure at specefic resolution
Use the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/print.html |print|> command with the |-r| flag. HTH, Ar...

13 years 前 | 0

| 已接受

已回答
Plotting a graph to show correlation of voltage over current
voltage = 0:2.5:25; % V resistance = 10; % Ohms current = voltage / resistance; plot(current,voltage) xlabel('Current [A]'...

13 years 前 | 2

| 已接受

已回答
what is the difference between manually generated data and loaded data or random data?
<http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F>

13 years 前 | 0

| 已接受

已回答
Error Handling WITHOUT using try-catch statments
I wouldn't recommend trying to run a Simulink model within an Embedded MATLAB Function, which itself resides in another Simulink...

13 years 前 | 0

已回答
complex numbers
You probably want: if (M(j,i)==0 || M(i,j)==1) However, I would not recommend testing directly for equality if you're us...

13 years 前 | 0

已回答
I have a problem when I open the simulink file.
That's not very clear, but it seems that you need to change the character encoding. Have a look at the following pages from the ...

13 years 前 | 3

| 已接受

已回答
transfer function to c code
The code generation products have been repackaged in the latest release, R2011a. If you are using R2011a, you can use <http:/...

13 years 前 | 0

已回答
Retrieve the figure from the surface fitting tool
Use |File| -> |Generate Code| to generate some MATLAB code that you can re-execute with different data. The generate MATLAB code...

13 years 前 | 0

已回答
SimPowerSystem block Asynchronous Machine parameter values
That's a duplicate of a <http://www.mathworks.co.uk/matlabcentral/answers/7099-simpowersystem-block-asynchronous-machine-si-unit...

13 years 前 | 0

已回答
Moisture in pneumatic model
As you point out, the pneumatic blocks in Simscape are based on the ideal gas law, so no, it's not directly possible to model mo...

13 years 前 | 0

| 已接受

已回答
data stored in workspace
If you look at the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/fromworkspace.html documentation> for t...

13 years 前 | 1

| 已接受

已回答
how to make arrows
You can use the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/annotation.html |annotation|> function as suggested b...

13 years 前 | 1

| 已接受

已回答
NI PCI-6115 hardware support in matlab
The web page you mention indicates that this particular board has been supported by the Data Acquisition Toolbox since R14SP3, s...

13 years 前 | 0

| 已接受

已回答
How to measure the frequency response of power system network in Simulink?
You can use <http://www.mathworks.co.uk/products/simcontrol/ Simulink Control Design> to linearize the model around an operating...

13 years 前 | 1

已回答
How to delete mdl file with comand line?
It's probably because the file |new.mdl|, although erased, is still loaded in memory. Try using <http://www.mathworks.com/help/r...

13 years 前 | 0

| 已接受

已回答
TeX/LaTeX: how to define cubic root?
Is it as an <http://www.mathworks.com/help/releases/R2011a/techdoc/creating_plots/f0-4741.html annotation> on a plot? If so, you...

13 years 前 | 1

| 已接受

已回答
sum function
As Seth suggested, use the Sum block, or even the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/add.html...

13 years 前 | 0

已回答
from gui to workspace
Use <http://www.mathworks.co.uk/help/techdoc/ref/assignin.html |assignin|>. HTH, Arnaud

13 years 前 | 1

| 已接受

已回答
regarding conversion of time domain data to frequency domain having large values like 4096
Also look at this <http://www.mathworks.com/matlabcentral/answers/5823-fft-of-discrete-time-domain-data similar question>. HT...

13 years 前 | 0

已回答
How to transfer electric torque to mechanical system via gear reducer
When combining electrical models in SimPowerSystems with mechanical models in SimMechanics, it's generally best to use the speed...

13 years 前 | 1

| 已接受

已回答
How to solve Differential Equation in Simulink Model
Use the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/mathfunction.html Math Function> block, and select...

13 years 前 | 0

| 已接受

已回答
Plot like a "scope" block
You can also use <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/simplot.html |simplot|>. HTH Arnaud...

13 years 前 | 0

已回答
Setting axes with center in origin (0,0) in plotted variables.
Does the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/axis.html |axis|> command do the trick? Arnaud

13 years 前 | 5

加载更多