Community Profile

photo

madhan ravi


Last seen: Today Active since 2018

BMW BMS MBD (Automotive). Absolute fan of MathWorks

Spoken Languages:
English, German

Statistics

All
  • Master
  • First Review
  • First Submission
  • Thankful Level 5
  • 12 Month Streak
  • Knowledgeable Level 5
  • Promoter
  • Commenter
  • Revival Level 3
  • Solver
  • First Answer

View badges

Content Feed

Answered
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
plot(x,Env(:,1),'b',x,Env(:,2),'r') Note: just responding to the error message, assuming rest of the code works fine.

1 dag ago | 0

Answered
Define default signal values after code generation
Yes, you can do this by defining your signal as <https://www.mathworks.com/help/simulink/slref/simulink.signal.html *Simulink.Si...

3 dagen ago | 0

Answered
Custom Simulink toolstrip color
<https://de.mathworks.com/help/simulink/ug/create-custom-simulink-toolstrip-tabs.html> if you find something related to the link...

4 dagen ago | 0

Answered
How to Add Title to Legend ?
<https://de.mathworks.com/matlabcentral/answers/324848-setting-a-title-for-a-legend> perhaps one of those answers in the link if...

4 dagen ago | 0

Answered
What's the best way to write this code?
"OR" to be replaced with ||

4 dagen ago | 0

| accepted

Answered
Extracting data from SimulationOutput from multiple simulations
No_iter= 8; PCC_V_All = cell(1, No_iter); for k_index = 1 : No_iter PCC_V{k_index} = TP_rms(get(out(1, k_index).l...

4 dagen ago | 0

Answered
I am using PV ARRAY block in simulink, from where i can find the exact formulae implemented behind "PV ARRAY" block.
<https://www.mathworks.com/help/sps/powersys/ref/pvarray.html> mentioned in the documentation

5 dagen ago | 0

Answered
複数の条件(文字)に一致するインデクスの取得方法
Row_number = find(strcmp(Data{:, 1}, 'Eat') & strcmp(Data{:, 2}, 'Rumination')) % Where Data is your Table

5 dagen ago | 0

Answered
sgtitleの位置調整について
Exactly use the code in this <https://de.mathworks.com/help/matlab/ref/sgtitle.html#mw_719e1aad-fda8-4073-8369-5947229a8f17 *sgt...

5 dagen ago | 0

Answered
Create buffer/array in simulink.
To store data as array use <https://de.mathworks.com/help/simulink/slref/foriteratorsubsystem.html *For-Iterator Subsytem*>.

6 dagen ago | 0

Answered
Change 'Gain parameter' value of Gain block in Model
Sure, just use a <https://de.mathworks.com/help/simulink/gui/mask-editor-overview.html#bu085yl *Mask*> to change the *Gain* Valu...

6 dagen ago | 0

Answered
simulink 寻找ramp-up/down模块
It is a <https://de.mathworks.com/help/simulink/ref_obsolete_blocks/signalbuilder.html *Signal Builder*> Block in which you can ...

6 dagen ago | 1

| accepted

Answered
How do I upload a .mat file to GitHub using MATLAB and access it remotely? Can you provide some references to GitHub API documentation?
<https://de.mathworks.com/help/matlab/matlab_prog/use-git-in-matlab.html>

6 dagen ago | 0

| accepted

Answered
Matlab command to use
doc clear doc clc

7 dagen ago | 0

Answered
I have a question about "Error in port widths or dimensions. 'Output Port 1' of 'From32' is a one demensional vector with 3 elements"
<https://www.mathworks.com/help/sps/powersys/ref/abctodq0dq0toabc.html *Park Transformation*> block only accepts a positive scal...

7 dagen ago | 0

Answered
Li-ion battery simulation by simulink
Have a go through <https://www.mathworks.com/products/simscape-battery.html *Simscape Battery*>

7 dagen ago | 0

Answered
duplicating strings in a cell array
[~, b, c] = unique(name); idx = b(sum(b(c) == unique(b(c)).') > 1)

8 dagen ago | 0

| accepted

Answered
How to acces a simscape.logging.Node
I don"t have the toolbox but this should work. plot(simlog.Motor_And_Load.PMSM.Permanent_Magnet_Synchronous_Motor.angular_v...

8 dagen ago | 0

Answered
loop not recording array
Note: Handcoded from memory. Loops are unnecessary in this case. differences = diff(raininches); avgdiff = mean(...

8 dagen ago | 0

Answered
Generate c function from simulink subsystem
Make the subsytem that you want to create C code as "Atomic Subsystem". If you have an atomic subsystem in Simulink and you w...

8 dagen ago | 0

Answered
how to assign values of one editfield to another editfield in masking a simulink subsystem
1. Open the Mask Editor (ctrl + M). Add the parameters in *Parameters & Dialog* Section as *edit field* types give the names for...

9 dagen ago | 0

Answered
Opaque bus creator, do not permit to change options
Press ctrl+d (compile model) and select the appropriate signal to propagate.

9 dagen ago | 0

Answered
Invalid block diagram name supplied
The block name has to be a valid MATLAB name. Make sure it follow the naming conventions.

9 dagen ago | 0

Answered
How can I change SlopeAdjustmentFactor ?
You need to use Datatype Conversion block and set the Output data type to fixdt(0, 16, 1) [where 1 is the SlopeAdjustmentFactor]...

9 dagen ago | 0

| accepted

Answered
Why is my pv array in simulink not the update blue version?
Background is supposed to be white in color as per documentation <https://www.mathworks.com/help/sps/powersys/ref/pvarray.html *...

10 dagen ago | 0

Answered
How to find the value of variable in the library?
Click on the subsystem and press ctrl + M and go to initialization. And make sure to check out all the callbacks of the subsy...

10 dagen ago | 0

Answered
measuring the time between two point of signal
<</matlabcentral/answers/uploaded_files/1556087/IMG_4187.jpg>> <</matlabcentral/answers/uploaded_files/1556092/IMG_4186.JPG>>...

10 dagen ago | 0

| accepted

Answered
Unlock and edit Simulink toolboxes
Like your last option is the safest. I don't have the Aerospace Toolbox but if you are able to see the contents of the subsytem....

11 dagen ago | 0

Load more