Community Profile

# Fei Deng

### MathWorks

Last seen: quasi 3 anni fa Attivo dal 2016

#### Content Feed

Visto da

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 0

Risposto
Does MatLab Versions R2013b and R2012b compatible with LM 11.14 ?

quasi 7 anni fa | 0

| accettato

Risposto
Hi Alexandre, the 404 error =means the URL is wrong in some form when specifying it in the client "http://localhost:9910/magic"....

quasi 7 anni fa | 0

Risposto
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,...

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

| accettato

Risposto
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) = ...

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

Risposto
Hi Eduardo, this error occurs when Antivirus or security software is installed on your computer and blocking the download. You c...

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 1

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

quasi 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0