Community Profile

photo

Yu Jiang

MathWorks

Active since 2014

Application Support Engineer

Statistics

  • First Review
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
subsystem does run updated when in fast restart
Not sure if this is the real issue here, but in Fast Restart mode, you can only change tunable parameters http://www.mathwork...

7 years ago | 0

Answered
Linear Programming using Simulink
There is no such a block to do direct LP. However, you can put your MATLAB script in an embedded function block or a MATLAB func...

7 years ago | 0

Answered
Change appearance of States and subsystems in Simulink
For Simulink subsystems, you can create an empty mask for the block. Right click the block, go to "mask" -> "create mask".

7 years ago | 0

Answered
Effect of sampling time on the time-domain response of discrete systems
There is a difference between the results from R2011a and R2014b. It is however expected. In the release notes of Controls S...

7 years ago | 0

| accepted

Answered
"Fatal error in slbuild"
- Did you see any error message in the MATLAB command window? - By "any model", do you mean shipped demos including, for ex...

7 years ago | 0

Answered
set the values to nan
>> B1 = tb1; >> B1(A1==0) = NaN;

7 years ago | 3

| accepted

Answered
Compute probability of each element in each column of a m x n matrix.
One possible but most likely not optimal way is to use the function "find" to count the number of occurrence of a particular num...

7 years ago | 1

Answered
我需要MEX Compiler 编译器,需要安装Visual Studio2005 或更高版本,但是键入mex -setup 提示找不到MEX Compiler 编译器,请问如何正确安装Visual Studio2005 ?谢谢!
http://www.mathworks.com/matlabcentral/answers/95039-why-does-the-sdk-7-1-installation-fail-with-an-installation-failed-message-...

7 years ago | 0

| accepted

Answered
我需要MEX Compiler 编译器,需要安装Visual Studio2005 或更高版本,但是键入mex -setup 提示找不到MEX Compiler 编译器,请问如何正确安装Visual Studio2005 ?谢谢!
你使用的是什么版本的MATLAB?你的操作系统是什么?你装的是什么compiler?是visual studio express还是professional?

7 years ago | 0

Answered
Is Matlab R2014b license different from R2014a?
License Manager Error -25 error can occur when the version of MATLAB is newer than the version of the license.dat file on the se...

7 years ago | 0

Answered
Polynomial calculation in matlab
Take a look at the first example on this webpage http://www.mathworks.in/help/matlab/ref/plot.html and replace the "sin(x)...

7 years ago | 0

Answered
Error using ode45 in matlab
In this line yd2 = -k*(y(1)-L1)/m + k2*(y(3)-y(1))/m you are using y(3) However, both y and ydot should only have 2 e...

7 years ago | 0

Answered
为什么我在Yosemite上安装MatlabR2011a Student 时,提示我To view this web content, you need to install the Java Runtime Environment.
MATLAB R2012a 以及更早期的版本和OS X Yosemite不兼容。因为它们需要旧的Java版本。很遗憾的是,对于这个问题没有很好解决的办法。你可以考虑升级MATLAB或者降级你的Mac OS. 最新的学生版是R2014a。 对于R201...

7 years ago | 0

Answered
DataSet Row Deletion Issue
This means M is larger than the number of rows in NO2. After you see the error message, type M in the command window to see what...

7 years ago | 0

Answered
Plotting differential equations, need help
plot(t(2:end),y)

7 years ago | 1

| accepted

Answered
How can I solve this Ode system?
I can run your code with [T,Y] = anzyme1(eye(81),eye(81), ones(81,1), 10) What are the parameters you use such that you s...

8 years ago | 0

| accepted

Answered
How can I solve this Ode system?
Navid You can find quite a few details and examples in the documentation. <http://www.mathworks.com/help/matlab/math/ordin...

8 years ago | 0

Answered
How to preallocate 3 D matrix?
outp(:,:,u)= zeros(5, 10, n)

8 years ago | 0

| accepted

Answered
Why do I get different results from poisspdf and computing the probability myself?
Hi Daniel I think you need to change poisspdf(lambda, X) to poisspdf(X,lambda) This is according to the docu...

8 years ago | 1

| accepted

Answered
Exporting data from simulink to workspace and save in different Timeseries
Hi Klaus You could set the model to log the signals and compare the results using the Simulink Data Inspector, see the follow...

8 years ago | 0

Answered
Any idea of small signal analysis ?that is used for linearisation
You may want to take a look at the following link: <http://en.wikipedia.org/wiki/Small-signal_model>

8 years ago | 0

Answered
How to covert a vector of lower triangular matrix factors back to the original matrix?
May not be the optimal solution, by you can try p = [ 1 2 2 3 5 3 4 9 8 4]; n = 4; P = zeros(n,n); k = 1; f...

8 years ago | 1

Answered
Can I use an enabled subsystem to reset a signal generator?
Hi Fernando The attached model might be a workaround. Notice that in the subsystem, I double-clicked the enable block and cha...

8 years ago | 1

Answered
Logical indexing with matrix issue
This is the intended behavior of Logical indexing. For example, A = [1 2; 3 4]; Then, A(logical([1,1;1,1])) will retur...

8 years ago | 0

| accepted

Answered
getting error "error writing file name.m C:\program files\matlab\folder name\file name.m(access is denied) "
There should be no spaces in the path or the file name.

8 years ago | 0

Answered
To Workspace doesn't accept "a.b" ?
Hi Zaki You may want to consider using a |bus| to generate a structure and pass that to a variable in |To Workspace|. For ...

8 years ago | 0

Answered
how to integrate USRP receiver to matlab?
Hi Abhinibesh The first thing you need to do is to download the USRP support package. It can found in the following link. Als...

8 years ago | 0

Answered
How to get custom library to show up in Simulink Library Browser?
Hi John The following documentation explains how to add a library to the library browser. It also contains an example. Hope i...

8 years ago | 0

| accepted

Answered
有用过遗传模拟退火算法Genetic simulated annealing algorithm,进行优化计算的么?
Hi Jimmy 请问你是否使用过MATLAB的FileExchange, 它的目的就是为了让MATLAB用户能够相互进行更好的交流。我在FileExchange <http://www.mathworks.com/matlabcentral/fil...

8 years ago | 0

Answered
how to save only part of the solution when calling ODE routines
Hi Bo From what I understand, you would like to save only a portion of the results obtained from ODE113. A simple way to d...

8 years ago | 0

Load more