Contenido principal

Resultados de

Hi,

I am trying to design a Simulink model for transmission cable to characterize some features of an existing electrical system. I am using the Lumped Parameter L-section with few segments. I want to set initial conditions to each segment capacitors. Is there a way I can set those?

Thanks in Advance.

Hi, I'm trying to solve this problem but I'm getting an error so far.
Problem:
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have
a = [1 2 2 2 1 3 2 1 4 5 1]
The answer would be 2, because it shows up three consecutive times
What I've written so far (not done):
a = [1 2 2 2 1 3 2 1 4 5 1];
[x,y] = size(a);
counter = zeros(1,10);
if x == 1
for i=1:1:y
if a(i) == a(i+1)
counter(a(i)) = counter(a(i))+1
end
end
else
for i=1:1:x
if a(i) == a(i+1)
counter(a(i)) = counter(a(i))+1
end
end
end
But it says "error" in the line of "if a(i) == a(i+1)". I noticed that it creates a variable called "i" which value is 11, but it should create a vector from 1 to 11. What's wrong here?
I know my solution might not be in the right direction or something, but please don't tell me anything!
Thanks in advance

Actually i have chosen the DC link capacitance in my inverter circuit. i wanted to know how to perform a simulation of it in MATLAB and to check the affecting parameters when the capacitance is varied and obtain a 3D graph.

I am fitting a generic TMDD model to date. Model fits look reasonable. Once I create a variant and simulate data for various doses to create observed vs predicted concentrations vs time profile, then simulated concentrations do not match fitted profiles. Simulated concentrations are either significantly higher or lower than the model fits. Not sure what is wrong. Fits look fine but simulated profiles using fitted parameters are all over the place.

I have simulated the photovoltaic (PV) module on Simulink as in my simulation. I want to transfer the signals of I-V scope into the plot in Matlab. But the scope do not show the voltage value on the X-axis. Instead, the X-axis shows the time. As a result, when I use the data saved in Matlab workspace, I just get the current-time plot instead of current-voltage plot. How can I fix this problem ? ( The current-time plot is the same as the I-V characteristic in datasheet of the PV panel, but the X-axis expresses the time value. I want to change it into voltage value)

hi MPPT on the designed bosst circuit does not work correctly. can you help?

SHIVA NAND YADAV
SHIVA NAND YADAV
Última actividad el 19 de Feb. de 2020

From where i can start to learn . Please suggest a particular topic or lectures.

SHIVA NAND YADAV
SHIVA NAND YADAV
Última actividad el 11 de Dic. de 2019

Hi,Everyone,I am new member here. I want to learn simulation on projects. Please suggest, from where i can start Simulink easily and learn from Basics to Advance level.

younes youyou
younes youyou
Última actividad el 10 de Dic. de 2019

have anyone use multiobjective function optimization via PSO namely MOPSO ?? I need some help

Hello Everyone,

I would like to perform the cross correlation function (crosscorr (y1,y2)) for my data but donot have the Econometrics Toolbox to compute this. Can someone in here help me to get this toolbox or else show me where I could get one?

many thanks, Tobias

Hello all,

I have created an arbitrary model for microtubule behavior. More or less just trying to familiarize with the software. I have created plots for multiple types of reactions that may occur and am looking to now plot the instantaneous derivative of each reaction. Would anyone have any suggestions as to how I could do this? I am familiar with how to do it with a clearly defined function with x,y,z,etc. values. However the 'sbiomodel' command doesn't seem to show me a function so I'm really lost on this.

Thanks for any and all help/suggestions.

Jan
Jan
Última actividad el 4 de Oct. de 2024

After reading Rik's comment I looked for a list of Matlab releases and their corresponding features. Wiki: Matlab contains an exhaustive list, but what about having a lean version directly in the forum?
If this is useful, feel free to expand the list and to insert additions. Thank you.

Hi. I'm new to matlab. I'm a hobbyst, not a company or anything like this. I brought MATLAB personal with some modules and I'll use to learn FPGA with ZedBoard + AD9361. I know that this board (both) are supported by simulink and I'll test/learn using simulink and block-design. My plan is to make an FM transmitter (for start) when my boards arrive (already brought, still waiting delivery). After that, my plan is to make an receiver and then, do the same receiver, but using another frontend (including ADC). So my question is: imagine that I have plugged in another ADC into my ZedBoard (let's say AD9226), is possible to read this ADC in simulink, like AD9361 does? If yes, how? Where can I find any article or tutorial about this?

Even further: if I want to generate HDL code in the future (using HDL Coder), how can I integrate this 'custom' AD for code generation?

PS: I know that I can't buy HDL Coder for personal. My plan is to use trial for testing, since I'm using just for learning.

Thank you.

I am trying to design the outer voltage loop of the inverter but i am unable to remove the 5,7th harmonics from the capacitor voltage as i am trying to supply nonlinear load. The file is in matlab2018b.

Tony Lennon
Tony Lennon
Última actividad el 6 de Nov. de 2019

Model-Based Design speeds up developing embedded software for controllers in power electronics-based systems. Wherever you plan to use digital controls, you can use Model-Based Design to develop, test, and implement your algorithms. You can learn more about Model-Based Design in this white paper .

Hello,

I have a suggestion for a feature which I think would be nice to add in SimBiology: a "date modified" field for all of the objects (species, parameters, rules, etc). It would be nice for this to be visible in the tables in the GUI, as well as being available through code, and to be able to sort on this field in the GUI. The reason I thought about this is because I just got a model with some updates from a colleague, and this would help me to identify what they updated.

Thank you,

Abed

In previous versions, there was an option for exporting fit results as a report. Now it is not there.

1.When I am trying to code my TMS320F28379D for running a three phase grid tied plant as per the attached image a scope in "SYNCHRONOUS SYSTEM " is showing perfect result but the result is not getting transferred to the "PI_Controller_ISR ".I have concluded this after I have connected the scope at the signal which is entering the "PI_Controller_ISR " subsystem (Inside the subsystem). I am trying to do this in MATLAB 2018B AND F28379D LAUNCHPAD.I am attaching the MATLAB fILE with this help request.Kindly resolve the issue. 2. I have been working on how to send the ADC signal from the C2000 MCU to the Host by seeing the video of** f28379D_DCDC_Buck** in external Mode, but when I downloaded the file and tried to run it by setting the parameters in the HARDWARE IMPLEMETATION pane it is showing me the error message. " Error evaluating 'InitFcn' callback of C28x SCI Receive block (mask) 'c28379Dpmsmfocdual_cpu1_ert/Serial Receive/SCI Receive'. Callback string is 'c28xsci_callback('renderDisplay') validateC280xSCI('Rx'); codertarget.registry.registerC280xSCIRxBlocks(gcb);

                                                   '
Caused by:
The SCI module A is already used by another block or by External Mode."
Kindly resolve these issues.
kiran kale
kiran kale
Última actividad el 21 de Oct. de 2019

Please send me some plant digital twin simulink model for productive maintenance.

SATYAJIT Kumar
SATYAJIT Kumar
Última actividad el 21 de Oct. de 2019

i want to model LI+ battery , i referred to matlab model https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/36019/versions/29/download/zip but not able to understand how to make simscape battery parametrs(like R C ), anybody can help ??