Risposto
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

quasi 15 anni fa | 1

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

Risposto
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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 2

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 2

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 3

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 1

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 1

| accettato

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

Risposto
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

quasi 15 anni fa | 5

Carica altro