Yongjian Feng
Followers: 0 Following: 0
Feeds
已提交
Animated-Gradient-Descent
Animate gradient descent in 3D plot or 2D contour plot. Visualization. Demonstrate impacts of alpha, starting point, saddle po...
4 months 前 | 4 次下载 |
已回答
Invalid ReqIF file. Error details: Type 'AttributeValueTyped_reference' has not been found in the registry.
Hi Hannah, This ReqIF is not a valid ReqIF. As shown in the error message, one spec-object (a "requirement" in the language of...
Invalid ReqIF file. Error details: Type 'AttributeValueTyped_reference' has not been found in the registry.
Hi Hannah, This ReqIF is not a valid ReqIF. As shown in the error message, one spec-object (a "requirement" in the language of...
10 months 前 | 0
已回答
MatLab App and requirements linking with Requirements Manager
Hi Mark, There is an alternative here. The logic of your MatLab App can be implemented in m-code, and you can call those m-code...
MatLab App and requirements linking with Requirements Manager
Hi Mark, There is an alternative here. The logic of your MatLab App can be implemented in m-code, and you can call those m-code...
1 year 前 | 1
| 已接受
已回答
I want the a similar function as slreq.export
Hello Marawan, It is a new feature of R2023a that slreq.export can export to ReqIF. Unfortunately, this is not supported before...
I want the a similar function as slreq.export
Hello Marawan, It is a new feature of R2023a that slreq.export can export to ReqIF. Unfortunately, this is not supported before...
1 year 前 | 1
已回答
Where did Matlab stores a requirement set (*.slreqx file) dependencies ?
Check if you have something called Swc_MTR*.slmx. Rename it to something else and try again. That is a linkset file. Please n...
Where did Matlab stores a requirement set (*.slreqx file) dependencies ?
Check if you have something called Swc_MTR*.slmx. Rename it to something else and try again. That is a linkset file. Please n...
1 year 前 | 0
| 已接受
已回答
Requirements Linking from imported excel
Hello Sherif, This is an interesting workflow. Could you please confirm the steps below: Link a requirement to a selected row ...
Requirements Linking from imported excel
Hello Sherif, This is an interesting workflow. Could you please confirm the steps below: Link a requirement to a selected row ...
1 year 前 | 0
已回答
Why Matlab does not see Python?
matlab uses PATH env var to find python. Your python installation is in a local path. Try this in matlab command line: getenv('...
Why Matlab does not see Python?
matlab uses PATH env var to find python. Your python installation is in a local path. Try this in matlab command line: getenv('...
2 years 前 | 1
已回答
problem reading HDF5 on s3
In python, you seem to use read_only flag ("r"). Maybe you want to try: H5F.open('https://dandiarchive.s3.amazonaws.com/blobs/5...
problem reading HDF5 on s3
In python, you seem to use read_only flag ("r"). Maybe you want to try: H5F.open('https://dandiarchive.s3.amazonaws.com/blobs/5...
2 years 前 | 0
已回答
Error on loop on multiple ASCII files
File.name only gives you the name of the file, not the path. Try: files=dir('F:\Teamdrive\TEST\**\*.ascii'); numfiles=length(f...
Error on loop on multiple ASCII files
File.name only gives you the name of the file, not the path. Try: files=dir('F:\Teamdrive\TEST\**\*.ascii'); numfiles=length(f...
3 years 前 | 0
已回答
Matlab plot3 line color setting
Separate them: plot3(x1',z1',y1','Color', myGreen); hold on plot3(x2',z2',y2', 'm', x3',z3',y3','b', x4',z4',y4','k');
Matlab plot3 line color setting
Separate them: plot3(x1',z1',y1','Color', myGreen); hold on plot3(x2',z2',y2', 'm', x3',z3',y3','b', x4',z4',y4','k');
3 years 前 | 0
已回答
Problem multiplying exponential function with negative value
Try this: t = -20:1:20; x_t = t.*(exp(-0.15*t)); plot(t, x_t)
Problem multiplying exponential function with negative value
Try this: t = -20:1:20; x_t = t.*(exp(-0.15*t)); plot(t, x_t)
3 years 前 | 1
已回答
Warning: Using only the real component of complex data.
j is the imaginary unit here, so x is complex. stem is not used to plot complex numbers, that is why only the real component is ...
Warning: Using only the real component of complex data.
j is the imaginary unit here, so x is complex. stem is not used to plot complex numbers, that is why only the real component is ...
3 years 前 | 0
| 已接受
已回答
Loop calculation and output
You meant this: txtFiles = dir('*.txt') ; l=length(txtFiles); N = l*10 ; Bandsheet = zeros(N,8); PSDSheet1 =zeros(N,16); P...
Loop calculation and output
You meant this: txtFiles = dir('*.txt') ; l=length(txtFiles); N = l*10 ; Bandsheet = zeros(N,8); PSDSheet1 =zeros(N,16); P...
3 years 前 | 0
| 已接受
已回答
Simulink Requirements Editor Default Format
Hello Nicholas, Currently these two settings can't be controlled by the user. One alternative is to use copy and paste. You c...
Simulink Requirements Editor Default Format
Hello Nicholas, Currently these two settings can't be controlled by the user. One alternative is to use copy and paste. You c...
3 years 前 | 0
已回答
RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work",
Try this on matlab command line window: getenv('PATH') This will tell you what PATH matlab is using. You might need to restart...
RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work",
Try this on matlab command line window: getenv('PATH') This will tell you what PATH matlab is using. You might need to restart...
3 years 前 | 0
已回答
Automatically launching an executable
Looks like a warning from Windows, not from matlab. Try to run matlab as admin.
Automatically launching an executable
Looks like a warning from Windows, not from matlab. Try to run matlab as admin.
3 years 前 | 0
已回答
I need to use Newton's method to solve f(x). Can any one tell me what's wrong of my code and how to improve it.
what i s your dx?
I need to use Newton's method to solve f(x). Can any one tell me what's wrong of my code and how to improve it.
what i s your dx?
3 years 前 | 0
已回答
Error using subprocess>_execute_child (line 1311) Python Error: FileNotFoundError: [WinError 2] The system cannot find the file specified
Most of the times, this kind of error can be fixed by setting the env var PYTHONPATH inside matlab. So figure out what file/pa...
Error using subprocess>_execute_child (line 1311) Python Error: FileNotFoundError: [WinError 2] The system cannot find the file specified
Most of the times, this kind of error can be fixed by setting the env var PYTHONPATH inside matlab. So figure out what file/pa...
3 years 前 | 0
已回答
how to set x-axis and y-axis of a plot as log scales in bold with latex interpreter?
How about these: ax = gca; ax.XAxis.FontWeight='bold'; ax.XAxis.Scale = 'log';
how to set x-axis and y-axis of a plot as log scales in bold with latex interpreter?
How about these: ax = gca; ax.XAxis.FontWeight='bold'; ax.XAxis.Scale = 'log';
3 years 前 | 0
已回答
how to find the nearest value (if a value is already provided) from a given array?
Try this: x=0.61; m=linspace(0,1,9); [a, b] = min(abs(m-x)); m(b)
how to find the nearest value (if a value is already provided) from a given array?
Try this: x=0.61; m=linspace(0,1,9); [a, b] = min(abs(m-x)); m(b)
3 years 前 | 0
| 已接受
已回答
hi i have vector for i and this equation : i= (K1*V+(K2*V^0.5)) and amount of V in known. how can i found K1 and K2?
If I and V are vectors, you can just call solve to do the job: I = [1 2]; V = [3 4]; syms K1 syms K2 eq = I == (K1.*V+(K2.*...
hi i have vector for i and this equation : i= (K1*V+(K2*V^0.5)) and amount of V in known. how can i found K1 and K2?
If I and V are vectors, you can just call solve to do the job: I = [1 2]; V = [3 4]; syms K1 syms K2 eq = I == (K1.*V+(K2.*...
3 years 前 | 0
已回答
plot from ode45
Too many errors in your code. I tried to clean some, but it still has trouble to figure out what y is: function kk1 clear...
plot from ode45
Too many errors in your code. I tried to clean some, but it still has trouble to figure out what y is: function kk1 clear...
3 years 前 | 0
已回答
Automatically loading the .mat file
For "automatically loading", you most likely mean generating the file names in a loop? Try this: num_case = 26; files={}; fo...
Automatically loading the .mat file
For "automatically loading", you most likely mean generating the file names in a loop? Try this: num_case = 26; files={}; fo...
3 years 前 | 0
已回答
How do I print one variable from solve() ?
Just do disp(A); disp(B); Or a complete script: syms A syms B primereq = 18 * A - 8 * B == 0; segundaeq = -1 * A - 18 ...
How do I print one variable from solve() ?
Just do disp(A); disp(B); Or a complete script: syms A syms B primereq = 18 * A - 8 * B == 0; segundaeq = -1 * A - 18 ...
3 years 前 | 1
| 已接受
已回答
Can I take data while setting them
Not sure how useful the command you proposed is. If you create first a=rand(4) and then take 8 of them as a(:,2:3), the rest 8...
Can I take data while setting them
Not sure how useful the command you proposed is. If you create first a=rand(4) and then take 8 of them as a(:,2:3), the rest 8...
3 years 前 | 2
| 已接受
已回答
execute cell content as lines of command in Matlab
Try this first from matlab command line window: pe = pyenv This will tell you what python env is used by your matlab installat...
execute cell content as lines of command in Matlab
Try this first from matlab command line window: pe = pyenv This will tell you what python env is used by your matlab installat...
3 years 前 | 0
已回答
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...
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 years 前 | 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...
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...
3 years 前 | 1
| 已接受