photo

Xin CUI


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to optimize a parameter as well as independent variable
I have a function to minimize. For example, f = a*x^2 + 2*x. Parameter a is also a function of x. For instance, a(x) = x-4. How ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


how to convert symbolic expression and use solve function to solve equations
I used diff(fun,x) to find out analytically some equations. And I wanted to solve these equations using solve function. But I ca...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


why solve function gives three results instead of one
I ran the code below and try to solve a Lagrangian multiplier problem. I hope to get one result from this problem, but I unexpec...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


a function of function problem
I have an expression f in terms of y (independent variable), a and b(parameters). I would like to take the derivative of f with ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How to output multiple results via function
Maybe this is a basic question. Please help me with it. I define a function with a couple parameters. function f=fun(y,lambda...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


how to draw 3D plot
Hi, I am a newbie for 3D plot. I have a dataset including 1000 rows and 3 columns. I treat each row as one observation, which ha...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


how to merge two matrices via one common column
Hi there. My question is that I have two matrices, say, A and B, A have two columns, 1 and 2, B has two columns, 3 and 4. Column...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Question


how to read a cell array into a matrix dataset or several vectors
HI, please help me with this question. I use textscan to read in a 1X20 cell dataset A. When I open it, it looks like such forma...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How to compare two vectors with numbers?
I have a question. I have two vectors A and B, both have a bunch of numbers. A is master and B is slave. Now what I want is to s...

meer dan 11 jaar ago | 2 answers | 1

2

answers