Community Profile

photo

ADragon


Last seen: 3 Tage vor Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

All
  • First Submission
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

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

etwa 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 1

| akzeptiert

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 1

| akzeptiert

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

| akzeptiert

Gesendet


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

mehr als 5 Jahre vor | 1 Download |