Community Profile

photo

ADragon


Last seen: 3 Monate ago
12 total contributions since 2018

ADragon's Badges

  • First Submission
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
how to define a variable in directory to save many of .mat in loop?
Hi Osama, not 100% clear on what you are trying to do, but you definitely have a problem with the save line. If you are trying ...

mehr als ein Jahr ago | 0

| accepted

Answered
How to find the largest index into a cell array, pointing to an element after which all subsequent elements are empty?
I think find() will help you get what you want idx1 = find(~cellfun('isempty',keys),1,'last'); idx2 = find(~cellfun('ise...

etwa 2 Jahre ago | 0

| accepted

Answered
Limit DC Voltage's Current Supply
Hi Bryan, you can do this easily is Simscape, though you will have to use a controlled voltage source instead. AD <</matlabce...

etwa 2 Jahre ago | 0

Answered
3D Figures of Looping Variables
Hi Zaharaddeen, you can use a for loop to plot each variable. Vars = {'A','B','C'}; for i = 1:3 figure plo...

etwa 2 Jahre ago | 0

| accepted

Answered
Can anyone identify this simulink block?
It looks like a repeating sequence block. The block graphic will assume the shape of the sequence data, so it is probably hard ...

etwa 2 Jahre ago | 1

| accepted

Answered
How to interpolate a different ranges of data in one array of a cell?
Hi Thao, you can auto generate a script to import your data as a table and index into it using the column names. See attached f...

etwa 2 Jahre ago | 0

| accepted

Answered
Why does Matlab give me the entire string instead of just one element?
I am guessing you might have a cell array instead of a string. What happens when you do this? str = 'Hello Matlab'; str...

etwa 2 Jahre ago | 0

Answered
How to create a loop which nan means every datapoint of three components
Hi Rebecca, you do not need the for loop since the equation can operate on arrays. Just use: U = nanmean(sqrt((velocity_x_...

etwa 2 Jahre ago | 0

| accepted

Answered
Plotting multiple outputs of a function through a For loop
It does not appear that Nreps is an integer value that can be used as an array index. You could try: Nreps = logspace(1,6)...

etwa 2 Jahre ago | 1

| accepted

Answered
How to assign a signal to the block parameter of simscape electric block(resistor)?
Hi Bohan, I think you will want to look at creating custom Simscape blocks using the Simscape programming language. If you have ...

etwa 2 Jahre ago | 0

| accepted

Answered
Can anybody help me to solve this?
Hi ASWATHI, when you call an anonymous function, you need to provide inputs just like a .m function. So, assignment A2 and a2_...

etwa 2 Jahre ago | 0

| accepted

Submitted


IncVar
Increment Variable class to provide similar functionality to i++

mehr als 2 Jahre ago | 0 downloads |