Community Profile

photo

Dave Lee


Last seen: 1년 초과 전 2016년부터 활동

Followers: 0   Following: 0

연락

통계

  • Thankful Level 2
  • First Review
  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


When do we use Simulink Stateflow?
Implementing state machines using other Simulink blocks is possible. How do we come up with the decision of implementing using a...

거의 3년 전 | 답변 수: 0 | 1

0

답변

질문


Similar Functionality as Lookup Table Optimizer but with data
Hi, As you know Lookup Table Optimizer (https://www.mathworks.com/help/fixedpoint/ug/optimize-lookup-tables-for-memory-efficien...

대략 4년 전 | 답변 수: 0 | 0

0

답변

질문


Simulink look-up table using scattered data
Hi, I have a data set, which includes scattered data. I want to build the table for Simulink look-up table (linear interpolatio...

대략 4년 전 | 답변 수: 0 | 0

0

답변

질문


DSP System Toolbox Minimum block with external inputs for minimization searching range
Hi, I am using this block https://www.mathworks.com/help/dsp/ref/minimum.html to calculate the index corresponding to the minim...

대략 4년 전 | 답변 수: 0 | 0

0

답변

질문


Smooth data for slowly-sampled data
Hi, I have a data sampled slow as blue. I need to obtain the red curve that smoothen out the data. Can anyone please tell me wh...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


Polynomial data fitting that guarantees convexity
Hi there, I have a dataset with N number of data points [x1, x2, ...., xN], [y1, y2, ..., yN]. I can use polyfit by providing t...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Zero gain margin for an stable system from both allmargin and margin
Hi there, I have the following open-loop transfer function s=tf('s'); OL_tf = (5.782*s^2 + 1.395*s + 0.1361)/(s^3 + 4*s^2); ...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Matlab sim command gives different simulation result from Simulink play button
Hi, My Simulink model is .mdl with Matlab 2015a. The model is in Accelerator mode. I realize that when I use Simulink play butt...

4년 초과 전 | 답변 수: 0 | 1

0

답변

질문


How to include files and folders when running Simulink under Accelerator mode
Hi, I use some tool to generate .mex files to be used in Simulink. These mex files and associate files with them are under a fe...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Error with array exceeds maximum array size preference during debugging of algebraic loop of Simulink
Hi, I am debugging algebraic loop in my model using the following code mdl = 'model_name'; Simulink.BlockDiagram.getAlgebraic...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Error using copyfile The requested lookup key was not found in any active activation context
Hi, I obtained the error as on title for the following commands. cd subfolder copyfile('filename.txt', '../') cd .. The er...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Difference between "Interpreted MATLAB Function" and "MATLAB System" Simulate using "Interpreted execution"
Hi, Can someone help me with the difference, especially in terms of how fast they simulate. Both of them are under User-Defined...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


Red wiring and red boundary of block in Simulink
Hi, I have some red wirings as the picture attached. The boundary of the subsystem which is connected to the wire is also red. ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


Simulation is slow when porting nonlinear MPC from Matlab2018a to 2015a
Hi there, I have both versions of Matlab 2018a and 2015a. Due to some reason with my main simulation, I have to run simulation ...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


Lookup table for vector at each time step in Simulink
Hi there, I am using Simulink and at each time step I need to do interpolatation for one vector as below. Doing interpolation f...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


Deep learning toolbox for approximation of functions
Hi there, I am having a dataset of N number of points for each input and output. I need to approximate the functions as below. ...

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


Loading mat files within parfor takes long time
Hi, I am writing the code below to load/process 2627 files under parfor with the size of each file is 100MB, makes it total of ...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Assigning blank cell array confuses Matlab with data type
Hi, I have two cases as below. I want to have both x_cell and x to be single but the first case doesn't give me so. This is the...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Speed performance of MEX file using Matlab Coder for parfor operation on arrays
Hi, I am reaching the limits of optimizing running time (also RAM) of my Matlab script. I did use several techniques for optimi...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Fast implementation of calculating peaks/local maxima of magnitude of transfer function
Hi, I need to calculate different peak values of the magnitude of the transfer function. The peaks are all local maxima, not ju...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Vectorize array of filters to avoid for-loop for different filters
Hi, I need to use different filters for data. Each filter is applied to a 2D array, one dimension is time vector, the other dim...

5년 초과 전 | 답변 수: 0 | 1

0

답변

질문


parfor stalls (stucks) with Matlab 2015a but not with 2018a
Hi, I have a Matlab .m file running parfor. When I use Matlab 2015a, it gets stuck at around 45% finished of the loop. It is re...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


sum of variable-size subvectors of array without loops
Hi, I am trying to implement the code below without for loop. The idea is to calculate sum of different ranges/sizes of an arra...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


An UndefinedFunction error was thrown on the workers with parfor
Hi, I got the error An UndefinedFunction error was thrown on the workers for 'x'. This might be because the file co...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Error with lsqlin with inequality constraint using interior-point-convex
Hi there, I was using the following code options = optimoptions('lsqlin','Algorithm','interior-point',... 'MaxIter',1000...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


Support Vector Regression (fitrsvm) with prior knowledge constraint
Hi there, I am using fitrsvm to estimate a regression model. The model fits data very well and overfitting is guaranteed since ...

7년 초과 전 | 답변 수: 0 | 0

0

답변