photo

Chenguang Yan


njust

Last seen: meer dan een jaar ago Active since 2020

Followers: 0   Following: 0

Message

PhD candidate

Statistics

All
  • Thankful Level 2
  • Revival Level 1
  • First Answer
  • Explorer
  • Thankful Level 1
  • Promoter
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Question


How to solve a system of equations which contains mod() function?
eqn represents a system of equations to be solved. x = sym('x',[1 7],'integer'); assumeAlso(x>=0); c = [1 2 1 -2 +2 0 -3;... ...

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


Trouble in rewriting the for loop as a parfor loop
I want to reduce unnecessary calculations in the loop, and this is the sample code for "for" loop which reduce the number of cal...

bijna 4 jaar ago | 1 answer | 0

1

answer

Answered
write an equation with graph
This might help you: SF = [7,8,9,10,11,12]; CR = [1,2,3,4]; BW = [125,250,500]; BW_fixed = BW(1); % fixed Bandwidth [X...

bijna 4 jaar ago | 0

Answered
Write M file with while loop, which computes factorial of any x, (x=12).
f = 12; x = f; fact = x; while x>1 x = x-1; fact = fact*x; end disp(fact) % assert(isequal(fact,factorial(f)))...

bijna 4 jaar ago | 0

Answered
change the lines' widths in a stem plot, without changing the markers edges widths?
You can change the value of h2.SizeData to adapt to h1.LineWidth close all x = 1:10; y = [2 5 4 1 2 4 1 8 1 2]; h1 = stem(x,...

bijna 4 jaar ago | 0

Answered
Plotting multiple vertical lines with a for loop
Try this sz = size(SampleDepth,1); for i = 1:sz xline(SampleDepth(i)); end

bijna 4 jaar ago | 0

Answered
what is wrong?
Misspelling : cox -> cos * (Matrix multiplication) -> .* (Multiplication) Try this: x = -3:0.1:3 y = sin(x).*cos(2*x)+1 plo...

bijna 4 jaar ago | 0

Question


How to call Mathematica in Matlab to evaluate the symbolic anonymous function?
% I need to perform symbolic calculations x1 = sym('x1'); x2 = sym('x2'); % The actual expression is very complicated % Th...

ongeveer 4 jaar ago | 1 answer | 1

1

answer

Answered
How to convert an expression to a function with lossless precision?
I uploaded the compressed package, which includes a .mat file and a .m file. After decompression, the problem should be reproduc...

ongeveer 4 jaar ago | 0

Question


How to convert an expression to a function with lossless precision?
I use matlabFunction to convert an expression to an anonymous function, but the convertion of matlabFunction has a loss of preci...

ongeveer 4 jaar ago | 3 answers | 0

3

answers