Réponse apportée
How can I use an Op Amp with models from SimPowerSystems and integrate the circuit?
<</matlabcentral/answers/uploaded_files/12041/Untitled777.jpg>>

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
reversing the "Measured voltage in Simulink"
<http://www.mathworks.com/help/physmod/simscape/ref/simulinkpsconverter.html Simulink-PS Converter> <http://www.mathworks.com...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to import and read a large data set, with respect to time?
As for the 'colored lines' problem, you may have to transpose (') your matricies. To see what I mean, try this: t = [0:0.2:...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
GUI Open another program
I'm assuming you know how to make a GUI, just not how to call system commands? This is OS dependent, but start by looking at ...

plus de 11 ans il y a | 0

Réponse apportée
How can i use sign function under a function block in simulink ?
Is that the full equation? Your parentheses don't match. (7 open and only 6 close) Perhaps should be (-Kc*u(1)-Bc*u(4...

plus de 11 ans il y a | 0

Réponse apportée
from workspace to scope plot
<</matlabcentral/answers/uploaded_files/11737/Untitled77.jpg>>

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Exmple of implementing C code in Simulink
There are dozens of examples included with MATLAB. In your command window, type sfundemos Or see the <http://www.math...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Demux simulink (select which block gets input)
Do you just need 2 outputs? Pretty simple to build your own. <</matlabcentral/answers/uploaded_files/11683/Untitled55.jpg>...

plus de 11 ans il y a | 0

Réponse apportée
Can you help me write this code please?
The syntax to access your cells is given on the top of the header bar: mydata{10,1}. Then you can treat it like any other array...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
draw a control plot for a function
You want to store ne, etc as a matrix of the size of your loops, so it would be ne(i,j), etc: e=2.71828; dt=.01; ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Call questdlg from C S-Function
You can use mxCreateString to hold your string value. #include "mex.h" void mexFunction( int nlhs, mxArray *p...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Hello. I have a really specific question. In running the code in the description, Matlab echoes all the values I need (10 numbers), but only considers the last value from10 (so it plots only the last value). How can I make it consider all the values?
You need to store all 10 in either a structure of arrays or an <http://www.mathworks.com/help/matlab/examples/create-a-structure...

plus de 11 ans il y a | 0

Réponse apportée
How can access value of a variable in 1 M-file into other M-file ?
function other_function(template_recognition) feature=template_recognition(:,:,1); end

plus de 11 ans il y a | 0

Réponse apportée
solve matlab equation( 512*512*log2(B))/2>==520000
syms B sym_b=solve(512*512*log2(B)/2==520000) vpa(sym_b) ans = 15.641263534925078400119749631703

plus de 11 ans il y a | 0

Réponse apportée
How to create a function within a function ?
If you want them to reside in one file, you need to switch the order, so that the calling (main) function is before the called (...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
how can i save every generation's best position using ga
Use <http://www.mathworks.com/help/gads/gaoptimset.html gaoptimset> to change the options. Display and PlotFcns will show some ...

presque 12 ans il y a | 0

Réponse apportée
Mean over a multidimensionnal Cell
You want the average of per-line of all the files? If all of the data are the same number of rows, then you can concatenate the...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
How to build in simulink an assynchronous generator driven by an assynchronous motor?
You can look in the "m" measurements bus of each to see if you are getting the voltages, powers, etc that you expect. Just use ...

presque 12 ans il y a | 0

Réponse apportée
PM motor for turbine
Do you have the SimPowerSystems Toolbox? <http://www.mathworks.com/help/physmod/sps/powersys/ref/permanentmagnetsynchronousma...

presque 12 ans il y a | 0

Réponse apportée
How to interface Simulink and Simpowersys Blocks?
Do you care what <http://www.mathworks.com/help/physmod/sps/ug/comparison-of-second-and-third-generation-technologies.html versi...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
how can i do this ?
On the lines where you calculate b, and e, you probably want to use the element-wise multiplication .* instead of the matrix mul...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Why Matlab shows me a small number as a ratio of very high numbers?
<http://www.mathworks.com/help/symbolic/vpa.html vpa()>

presque 12 ans il y a | 0

| A accepté

Réponse apportée
how to create a matlab code for runge kutta 4th order using implicit function..here i hv tried but it is showing error in line 16 as In an assignment A(I) = B, the number of elements in B and I must be the same.
Your anonymous function is not properly defined. You have declared fx = @(t,x) 2*u which claims to be a function of t a...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Error on summation of three numbers
<http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F Why is 0.3 - 0.2 - 0.1 (or simila...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Creating a table based on imputing arrays for the two variables in an equation.
Respecting your wishes to "figure this out on my own", I won't directly post the code but looking at "meshgrid" should get you s...

presque 12 ans il y a | 0

Réponse apportée
simulation takes so long and memory problem at the end
How you approach it really depends on what you are trying to accomplish. Off the top of my head: # Change the switching freq...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Simulink- Battery discharge constant load
Do you have the SimPowerSystems toolbox? It includes an example. <http://www.mathworks.com/help/physmod/sps/powersys/ref/bat...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
You need to setup your compiler. As the error suggests, go to to the MATLAB command line and type mex -setup For m...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
how can I analysis synchronous motor parameter using simulink?
<http://www.mathworks.com/products/simpower/ SimPowerSystems> <http://www.mathworks.com/help/physmod/sps/powersys/ref/synchro...

presque 12 ans il y a | 0

Réponse apportée
Simulink algebraic loop Error
Use a memory or unit delay block to break the loop. Double click on it to set your initial speed at time 0. <</matlabcentr...

presque 12 ans il y a | 0

Charger plus