Community Profile

photo

ADragon


Last seen: 3일 전 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년 전 | 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...

5년 초과 전 | 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...

5년 초과 전 | 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...

5년 초과 전 | 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 ...

5년 초과 전 | 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...

5년 초과 전 | 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...

5년 초과 전 | 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_...

5년 초과 전 | 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)...

5년 초과 전 | 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 ...

5년 초과 전 | 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_...

5년 초과 전 | 0

| 수락됨

제출됨


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

5년 초과 전 | 다운로드 수: 1 |