Réponse apportée
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

plus de 14 ans il y a | 1

Réponse apportée
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 =...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
vector display
Have a look at the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/format.html |format|> function, for example try: ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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

plus de 14 ans il y a | 0

Réponse apportée
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:...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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]'...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
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>

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
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:/...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
data stored in workspace
If you look at the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/fromworkspace.html documentation> for t...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
how to make arrows
You can use the <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/annotation.html |annotation|> function as suggested b...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
sum function
As Seth suggested, use the Sum block, or even the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/add.html...

plus de 14 ans il y a | 0

Réponse apportée
from gui to workspace
Use <http://www.mathworks.co.uk/help/techdoc/ref/assignin.html |assignin|>. HTH, Arnaud

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Plot like a "scope" block
You can also use <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/simplot.html |simplot|>. HTH Arnaud...

plus de 14 ans il y a | 0

Réponse apportée
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

plus de 14 ans il y a | 5

Charger plus