Community Profile

photo

Fangjun Jiang


Last seen: Today
3.046 total contributions since 2011

What is a model?
Professional Interests: Model-Based Development

Contact

Fangjun Jiang's Badges

  • 36 Month Streak
  • Revival Level 3
  • First Review
  • Ace
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
How can i add linear second-order transfer function to the simulink system?
drag and drop this block from library https://www.mathworks.com/help/simulink/slref/transferfcn.html

ongeveer 10 uur ago | 0

Answered
Where is help relop?
It is true. The explanation: \Program Files\MATLAB\R2019b\toolbox\matlab\ops\relop.m is gone in R2020a, that is why "help relo...

1 dag ago | 1

| accepted

Answered
How to discover all submodels within a simulink model programmatically ?
Using the example model 'f14'. Play with some other options of find_system() f14; SubSysBlocks=find_system('f14','BlockType','...

2 dagen ago | 0

| accepted

Answered
How can I get archived documentation for a R2012b release?
These are the archived document. R2012b is not there. Follow link to contact support to see you can get it. https://www.mathwor...

2 dagen ago | 0

Answered
Unable to remove elements from array and I don't know why
Do the loop backward should resolve the problem. I hope you would understand the reason. for i=length(x):-1:1 Also, better to ...

4 dagen ago | 1

Answered
select values from matrix
loc=sub2ind(size(A),idx,1:size(A,2)); >> out=A(loc) out = 1 7 3 9 5

4 dagen ago | 1

| accepted

Answered
Variable sample time with different time values
This seemingly simple question is actually quite complex. The input data is non-periodic. To hit every value-changing data poi...

4 dagen ago | 0

| accepted

Answered
command window change colors
Click "Preferences", then "Colors"

5 dagen ago | 1

| accepted

Answered
How do I keep unused root-Level Inports in the generated code
In your model configuration, search for "block reduction", un-check it. I assume you must have the root-level Inport blocks ter...

9 dagen ago | 0

Answered
Can I simulate a transfer function in simulink in real time and interact with the model using the GUI?
Yes, thought it requires this toolbox: Simulink Desktop Real-Time

9 dagen ago | 0

Answered
Error Unable to delete elements from this array because dimension 1 has fixed size 1000
You kept asking similar questions on this topic. You need to ask your question precisely and accurately. The key point for this ...

11 dagen ago | 0

Answered
Displaying images by using a variable
It can be done but less ideal. a=input('enter the number','s'); file=[a,'.jpg']; imshow(file); Better file=uigetfile('se...

12 dagen ago | 0

| accepted

Answered
Incorrect use of '=' operator
Both codes run properly if run alone. You can "clear all" and then try it. A potential problem is with inputdlg(). "agea" is a ...

12 dagen ago | 0

Answered
How to find the unused bus objects from base workspace in Simulink?
Simulink Data Dictionary (SLDD) has this capability. In fact, when you migrate base workspace to a .sldd file, it only migrates ...

12 dagen ago | 0

Answered
unable to get_param signal name , error in using for loop
Your code is correct, except that No "end" statement for the for-loop Remove the "{" and "}" lines (meant to enclose the for-...

12 dagen ago | 0

Answered
function with two inputs.
Run this to return two outputs height_cm=input('enter your height in cm: '); weight_kg=input('enter your weight in kg: ') [he...

ongeveer een maand ago | 0

| accepted

Answered
Algorithmically create block matrices
cat() vertcat()

ongeveer een maand ago | 0

| accepted

Answered
Simulink can't see variables in base and model workspace
You need to add "A" as a parameter for the MATLAB Function block. Double click to open the "MATLAB Function" block editor, clic...

ongeveer een maand ago | 0

Answered
License checkout failed. User/host not on INCLUDE list for Neural_Network_Toolbox.
When you see the toolbox after "ver" command, it means the toolbox is installed in your computer. You need a license file or che...

ongeveer een maand ago | 0

| accepted

Answered
How can I plot a graph from Simulink while simulating?
Use the blocks from the Simulink, Dashboard library, e.g. Dashboard Scope block. https://www.mathworks.com/help/releases/R2020b...

ongeveer een maand ago | 0

Answered
Remove "Offset" caption from a Simulink graph
Must be something else. I have R2020b Update 3. I tried and it didn't have "Offset=0" text. Check MATLAB preference, figure cop...

ongeveer een maand ago | 1

| accepted

Answered
Simulink: Dragging blocks directly into connections
Draging and dropping the block to the line will always make it auto connected. I've verified this in R2020b. You just need to be...

ongeveer een maand ago | 0

Answered
Simulink Control Design license, license checkout failed
Run this: flag=license('checkout','Simulink_Control_Design') license('inuse') To check if you have "Simulink Control Design...

ongeveer een maand ago | 0

Answered
Loop for removing values from a column vector
%% v=[1 2 1 3 7 7 5 4 8 6 9 2]; for k=length(v):-1:2 if v(k)<=v(k-1) v(k)=[]; end end

ongeveer een maand ago | 0

Answered
how to list first 50 prime number after 229 in 10 x5 matrix
a=primes(1000); b=a(a>229); c=reshape(b(1:50),10,5)

ongeveer een maand ago | 0

Answered
Block Parameters are Always Deleted
That is expected behavior. I don't know why it was designed that way. To avoid the problem, do either one of these: Create the ...

ongeveer een maand ago | 0

| accepted

Answered
Im Having issues making the IF conditions read the input placed from options.
use option=input('prompt','s') to enter a string, not numerical data

ongeveer een maand ago | 0

Answered
I want MATLAB to trigger an event at 8:00 AM tomorrow, how would I do that?
No. That won't do it. You need to look into this. https://www.mathworks.com/help/releases/R2020b/matlab/ref/timer-class.html

ongeveer een maand ago | 0

Answered
How to select specific elements of a matrix and save them in another matrix?
B=A([false;diff(A)>1])

ongeveer een maand ago | 0

Answered
Legend: is it possible to remove the border while leaving the background color?
set( leg , 'fontsize' , 20 , 'location' , 'east', 'color' , 'g' , 'box' , 'on','edgecolor','g' )

ongeveer een maand ago | 0

| accepted

Load more