Community Profile

photo

Fei Deng


MathWorks

26 total contributions since 2016

Contact

Fei Deng's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
Calculate previous and current values from signal builder
There are two ways to do it. 1. In the MATLAB function block you write: function y = fcn(u1,u2) y = u1-u2; feed th...

plus de 2 ans ago | 0

| accepted

Answered
seems that the description of example iris_dataset in nprtool is wrong
Hi Ryant, which specific page are you referring to and what MATLAB release are you using? For the iris_dataset data, yes yo...

plus de 2 ans ago | 0

Answered
Does MatLab Versions R2013b and R2012b compatible with LM 11.14 ?
Hello Annie, License files are backward-compatible. If the license manager is updated to the latest version and successfully ...

plus de 2 ans ago | 0

| accepted

Answered
Is it possible to download ressources from a Matlab Production Server?
Hi Alexandre, the 404 error =means the URL is wrong in some form when specifying it in the client "http://localhost:9910/magic"....

plus de 2 ans ago | 0

Answered
Bus array across model boundaries
Hi Allen, if you set the port dimension of input (Request<DriveLimit>) to be 3 to reflect the three buses in the array of buses,...

plus de 2 ans ago | 0

Answered
Calculate normal 2d vectors of a edge line and its vector angle with respective to y axis
Hello, since you have data set of edge coordinate (x,y), you can: (1) get the angle between this edge line and x-axis by doin...

plus de 2 ans ago | 0

| accepted

Answered
Formula Manipulation/substituion and Simplification
Did you try function "subs"? <https://www.mathworks.com/help/symbolic/subs.html> For example if originally you have H(s) = ...

plus de 2 ans ago | 0

Answered
Is 'parfor' running correctly when mex-ed ?
How did you run the mex-ed function with par-for loop? You can specify on how many threads (at most) it runs in parallel by exec...

plus de 2 ans ago | 0

Answered
how to get the state-space representation from the SimMechanic model?
You can linearize a simscape model and get the state space representation. Take a look of the example in help documentation show...

plus de 2 ans ago | 0

Answered
I need to add a hash (#) at the first position of a text file which is created by writetable. Rename of VariableNames does not work.
There is a similar question about adding lines to top of text files, take a look of the posted answers there. <https://www.mathw...

plus de 2 ans ago | 0

Answered
The following error was detected while downloading idelink/ticcsext_resources_common_1352440702.enc:
Hi Eduardo, this error occurs when Antivirus or security software is installed on your computer and blocking the download. You c...

plus de 2 ans ago | 0

Answered
Analog low pass filter zero-phase
Hi Macro, you can access zero-phase zero-phase analysis method via Filter Designer App. <https://www.mathworks.com/help/signal...

plus de 2 ans ago | 0

| accepted

Answered
distance between a point and elements of a matrix
Are you calculating the distance between coordinates (x,y,z) and the elements of a 3D matrix, OR the distance between coordinate...

plus de 2 ans ago | 0

Answered
The colors of 3d plot surfaces do not match the Colorbar
You are using trisurf(Tri,X,Y,Z) where color is proportional to surface height. Color of each triangle is determined by the heig...

plus de 2 ans ago | 0

Answered
Support Package Installer has detected an inconsistency.
This inconsistency can be caused by any previous Support Package installation performed on the machine. Support packages can not...

plus de 2 ans ago | 0

Answered
What is the difference between unifrnd and rand?
Hello Natacha, the function unifrnd actually calls rand. If a and b are the two first arguments of unifrnd, and r is the outp...

plus de 2 ans ago | 0

| accepted

Answered
Extracting Velocity from Color Doppler Image
Hi Vibhav, I presume you have an image generated in other software and you want to read the value each/a certain point/pixel ...

environ 3 ans ago | 1

Answered
Runge Kutta fehlberg not going through full simulation
Hi Joe, RKF45 method allows for an adaptive step size to be determined automatically, which improves efficiency/reduce steps....

environ 3 ans ago | 0

| accepted

Answered
32 bit vs 64 bit machine effect in computing equal code
Hi Alberto, Some higher-level algorithms boiling down to basic arithmetic operations can result in different results, when th...

environ 3 ans ago | 0

Answered
tree = fitctree(meas,species(50,:)) not working
Hi Kunal, Function 'fitctree' returns fitted binary classification tree, which based on the best categorical predictor. tr...

environ 3 ans ago | 0

Answered
how can i assign different intensity to an object present in an image with dimension (N,N,3) (for example: assigning different intensity(like 10,20,100,etc) to a circle present in an image)
Hi Hemang, To assign a different intensity to an object present in an RGB image, basically there are two steps: (1) To id...

environ 3 ans ago | 0

Answered
compare vs forecast with models
Hi, It is my understanding that you built a ARMA model based on the signal you have and you used function 'compare' and 'foreca...

environ 3 ans ago | 0

| accepted

Answered
How do I use different installation of MATLAB in server?
Hi Asadur, You can try changing System Proterties/Environment Variables. Move up the path of MATLAB in Y directory on top of ...

environ 3 ans ago | 0

Answered
How can I run a Matlab script from Excel?
Hi Michael, You can execute MATLAB code in Excel VBA editor. In order to do that, first enable the 'Develop' tab in the 'Cust...

environ 3 ans ago | 0

| accepted

Answered
Optical toolbox for Matlab
Hi JrV, There is not a toolbox named Optical. However, there is an ‘interactive simulation toolbox for Optics’ in File Exchan...

environ 3 ans ago | 0

Answered
Can one somehow retrieve news data from Bloomberg?
Hi Yannis, The answer is yes. Mathworks has several toolboxs which can retrieve data or create Bloomberg connection. Check *d...

environ 3 ans ago | 0