Community Profile

photo

Chenguang Yan


njust

Last seen: ungefär ett år 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;... ...

nästan 3 år 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...

mer än 3 år 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...

mer än 3 år 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)))...

mer än 3 år 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,...

mer än 3 år 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

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år ago | 3 answers | 0

3

answers