photo

ADragon


Last seen: 2 months 前 自 2018 起处于活动状态

Followers: 0   Following: 0

统计学

All
  • First Submission
  • Knowledgeable Level 2
  • First Answer

查看徽章

Feeds

排序方式:

已回答
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 ...

5 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

| 已接受

已回答
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 ...

6 years 前 | 1

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

已回答
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_...

6 years 前 | 0

| 已接受

已回答
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)...

6 years 前 | 1

| 已接受

已回答
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 ...

6 years 前 | 0

| 已接受

已回答
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_...

6 years 前 | 0

| 已接受

已提交


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

6 years 前 | 1 次下载 |