photo

ADragon


Last seen: ungefär 2 månader ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • First Submission
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

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

mer än 5 år 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...

ungefär 6 år 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...

ungefär 6 år 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...

ungefär 6 år 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 ...

ungefär 6 år 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...

ungefär 6 år 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...

ungefär 6 år 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_...

ungefär 6 år 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)...

mer än 6 år 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 ...

mer än 6 år 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_...

mer än 6 år ago | 0

| accepted

Submitted


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

mer än 6 år ago | 1 download |