Community Profile

photo

Yongjian Feng

MathWorks

Last seen: Today 2021 이후 활성

Software Engineer of Simulink Requirements team. Part time instructor of Calculus and Statistics. Experienced programmer in C/C++ and python. Mac user.

Statistics

All
  • 6 Month Streak
  • Personal Best Downloads Level 1
  • GitHub Submissions Level 3
  • 5-Star Galaxy Level 1
  • First Submission
  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer
  • First Review

배지보기

Content Feed

보기 기준

답변 있음
File selection using uigetfile in an App in appdesigner
uigetfile in general is put in a callback for a button, as mentioned by Michael. The ValueChanged callback of a textbox is not a...

약 3시간 전 | 0

답변 있음
I receive the output "Empty sym: 0-by-1"
Ok, the coefficients are the same for both equations. You basically have A*C_1+B*C_2+C ==0 and A*C_1+B*C2+D ==0. These two stra...

약 4시간 전 | 1

답변 있음
3d and 4d plotting
Try this?

1일 전 | 0

답변 있음
How to call a function inside other function in a equation?
It depends on whether you need to use B in anywhere else. If B is only used in your function yield, you can put it in the same m...

3일 전 | 0

답변 있음
Sprintf problems while trying to format a directory name followed by a string
Try this: sprintf("\\Mann_Turb\\Seed_%.0f\\class4_10_seed%.0f\\class4_10_seed%.0f_v.bin", 600, 600, 600)

4일 전 | 0

| 수락됨

답변 있음
Finding the last value of a difference equation
Use: y(end) = -3

4일 전 | 0

답변 있음
ROS required python packages
Your python installation looks good for ROS. What is the detail of the error message?

6일 전 | 0

답변 있음
Solve equation including parameters dependent on main variable
k shall be a symbol, once you do this before it is used, then this will take care of the dependency of delta and theta. syms k;...

7일 전 | 0

답변 있음
R2021b is close immediately on macos
What Mac OS are you using? Did you run any previous version of matlab on that machine before? Try to find the log file and se...

8일 전 | 0

답변 있음
Is applying a binary operator (+,-,*,/) to char arrays supported by MATLAB or just a "trick"
Char array is a vector of chars. So you are basically doing vector operation, right?

8일 전 | 0

답변 있음
Step Response of Transfer Function
Get help by doing: help tf Basically, you need to expand the denominator given in image into polynomial of s. Then take the co...

8일 전 | 0

| 수락됨

답변 있음
What is wrong in line 101?
Your file has no line 101. Only 94 lines in total. Tried some sample input data, and it works without error. What inputs are n...

8일 전 | 0

답변 있음
How to store graphs (undirected) i cell array and retrieve them
You meant: graphCellArray = {g1, g2, g3}; graphCellArray{1} % access the first one

8일 전 | 0

| 수락됨

답변 있음
Error using images.internal.getImageFromFile in matlab R2016a
images.internal.getImageFromFile expects the input argument to be string (the filename for the image). But it is something else....

8일 전 | 0

답변 있음
Using Matlab.engine and installing tensorflow at the same time
So the current hurdle is about installing/importing tensorflow, right? For the Anaconda installing issue, you might get better ...

8일 전 | 0

답변 있음
Unable to find explicit solution
This equation might not even have a solution. Try to plot it: syms t b=2*t+14.3; w=3*t+21.45; A=(w*b)-(w-t)*(b-2*t); rc=(w*...

9일 전 | 0

답변 있음
unable to get matlab to recognize the python installed on my computer
python on Windows might be tricky. Did you follow this page? Maybe you need to setup your PATH environment variable first?

9일 전 | 1

| 수락됨

답변 있음
Issues Using python from MATLAB
python has trouble to find the package selenium. One easy way out is to set the environment variable PYTHONPATH inside matlab to...

9일 전 | 0

답변 있음
Call component callback from another function
A callback function in your case is just a method of a class. You called your class file1 apparently. The Save method doesn't de...

10일 전 | 1

답변 있음
Bulk upload issue - HTTP Error code 502
You are using python code, but this is a matlab forum, right? In general, three suggestions: Try curl. This can tell if there ...

22일 전 | 1

답변 있음
Save a matrix .mat in a specific folder with a variable name
Try something this: a = 100; for i=1:3 file_name = ['filename' num2str(i)]; save(file_name, 'a'); end

24일 전 | 0

| 수락됨

답변 있음
c code and makefile to matlab
If you can compile it and run it from terminal, can you just use the system command?

24일 전 | 0

답변 있음
Can I see the text of a compiled *.m file?
The folder you mentioned in general is used for caching data locally. Most likely during compilation. This might not happen in t...

약 1달 전 | 0

답변 있음
Working with fortran Mex files on Mac OS
Try this answer.

약 1달 전 | 0

답변 있음
Plot Time Sensitive Data plus a fit in the same plot
To show more than one plots in a figure, use plot(Date, Thickness, '.'); hold on % this means you want more than one plots in ...

약 2달 전 | 0

답변 있음
Creating MATLAB tests in separate folder/module
Use addpath("your_root_path")

약 2달 전 | 0

| 수락됨

답변 있음
How to write this expression in MatLab
e^x is exp(x) in matlab, and lnx is log(x).

약 2달 전 | 1

답변 있음
How do I subplot figures and Title Figures
Try this: subplot(2, 3, 1); % there are 2x3 images, this is the first one imshow('the_first_image.png'); % show first title...

약 2달 전 | 1

답변 있음
Not enough input arguments
What is confusion.getMatrix? The built-in confusion is a function. There is another confusionmat, but the return arguments don't...

약 2달 전 | 0

답변 있음
I want to make a GUI in which only those functions run whose radio button is on, but how to make it?
Radio buttons or checkboxes? You can have a figure with multiple plots. Say if you have 10 checkboxes, then put 10 plots in th...

약 2달 전 | 0

더로드