Community Profile

photo

Chendi Lin

MathWorks

Last seen: 2 years ago Active since 2021

I am a Software Engineer in Simulink Code Inspector at MathWorks. My main responsibilities include feature development and codebase maintenance for Simulink Code Inspector.

Statistics

  • Knowledgeable Level 1
  • First Answer
  • First Review

View badges

Content Feed

View by

Answered
Storing multiple matrices from a loop into a single variable without cell function
Hi Ilker, If I understand your question correctly, A is a 3x3 matrix. For each i in the iteration, you want to store A withou...

3 years ago | 1

Answered
Returning values based on range of variable values
Hi Kevin, The index of MATLAB starts from 1. Have you tried U(x,1)? Best, CD

3 years ago | 0

Answered
isempty function does not work for me
Hi Nelson, I believe the correct way to use "isempty" is to call "isempty(out1)". Here is the sample code: >> a = zeros(0,2)...

3 years ago | 0

| accepted

Answered
Differentiating a Symbolic Function
Hi Ammar, Without explicitly defining the differentiation variable, "diff" uses the default variable, which is "x" in your ca...

3 years ago | 1

Answered
how to subtract the mean value of the network output values
To normalize the net I think you can simply do advantage_Net = advantage_Net - mean(advantage_Net) Please let me know if I un...

3 years ago | 0

Answered
Problem is unbounded in linear programming
Hi Klaus, Because all your design variables are non-negative, you will have AT = [1 4 2 3; 4 5 3 1]; u = [300 400]; g...

3 years ago | 3