Respondida
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

casi 15 años hace | 1

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

Respondida
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

casi 15 años hace | 0

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

casi 15 años hace | 2

| aceptada

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

casi 15 años hace | 0

| aceptada

Respondida
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]'...

casi 15 años hace | 2

| aceptada

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 3

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 1

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 1

| aceptada

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

Respondida
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

casi 15 años hace | 5

Cargar más