Answered
Picking value from CDF
It is just a piecewise linear function. You can use a tool like <http://www.mathworks.com/matlabcentral/fileexchange/11837-fast-...

10 years ago | 0

Answered
How to adjust small values for channel quality and interference values in cellular network simulator?
help format Specifically, look at what this does: format short g >> x = [1.89e9;1;100;23456;.00000123456] x = ...

10 years ago | 0

Answered
Why am I getting infinite value from my user defined function?
We don't see your data. So there is no way of knowing what the iterations will do. We also don't see your starting values, or wh...

10 years ago | 0

Answered
how to solve a set of 10 indedent linear equations, used linsolve method but answer are different from my instructor's
One part of the answer is trivial. A and B are still symbolic arrays. So linsolve yields a symbolic result. whos x Nam...

10 years ago | 1

| accepted

Answered
Using the Solve command
You DID make some effort here. :) Essentially, this problem does not really ask you to use dsolve. It never asked you to solv...

10 years ago | 0

| accepted

Answered
If standard error of a is known and standard error of b is known how to find out standard error of a/b
Actually, the problems is a bit more nasty than Torsten has made it appear to be. In some cases, possibly way more nasty. The...

10 years ago | 0

Answered
how do I solve the equation of form acosX+bsinX=c in matlab ?
syms a b c X solve(a*cos(X)+b*sin(X)==c,X) ans = -log((c + (- a^2 - b^2 + c^2)^(1/2))/(a - b*1i))*1i -log((c -...

10 years ago | 0

Answered
How can i solve a function for A, a constant ......... if the function's intragrand is (x +A) and limits are 0 - 10 when function==0 ????
Just do exactly what you said. WTP? See that: syms x A int(x+A,x,[0,10]) ans = 10*A + 50 Then in one line: ...

10 years ago | 0

| accepted

Answered
Create random path with known end and start point
The goal is a ONE dimensional random walk? What distribution do you want for the steps? normal? Uniform? Yes, I know that you...

10 years ago | 1

| accepted

Answered
How to apply pca() [Matlab] on high dimensional data
I think the problem is you don't understand the PCA code, at least how to use the tool as provided. READ THE HELP! A problem wit...

10 years ago | 0

Answered
How write LIMITED EDITION matlab script ?
It does not sound like this is much of a friend, if you will only be their friend for a very short time. After all, friendship i...

10 years ago | 1

| accepted

Answered
Fast sum and other functions in matlab?
So, you think if they had faster ways to do something as common as a sum, they would not implement it? Nope, only slow code prov...

10 years ago | 0

Answered
How can I perform nonlinear regression with two input variables and one dependent variable
Simpler than using nonlinear regression is to use LINEAR regression. If you have y=f(X1,X2)=(1+aX1+bX2)/(1+cX1+dX2) t...

10 years ago | 1

Answered
Solving a system of equation with two different series.
Given your comments, assuming that a1 and a2 are not problematic, this is a simple loop. Not sure what the issue is. Start at th...

10 years ago | 0

Answered
How to I compute partial derivatives of a function
High order partials can be difficult to estimate numerically, and to do so with full precision. The tool <http://www.mathwork...

10 years ago | 0

Answered
Solve set of equations
You have four equations that are functions of x. But you also have many other variables. Here is the first equation: w(...

10 years ago | 0

| accepted

Answered
How can I find the average of Y values for a given X?
Too late for you to accept or not, but as an alternative for others who might chance upon this question, is my consolidator tool...

10 years ago | 0

Answered
How to find a inflexion point with only discrete datas?
You have a nice smooth curve. So you can use an interpolating spline. x = [ 0 0.05 0.1 0.17 0.25 0.37 0.5 0.72 1 1.42 2 2.8...

10 years ago | 0

Answered
Randomizing set of value using normal distribution?
You asked this exact question before. What was wrong about that answer? The only difference is that you have now asked how to ra...

10 years ago | 0

Answered
how i can create a handle function(polynomial) or symbolic function (polynomial) with a uncertain vector?
v = [1 2 3]; As a symbolic polynomial... syms x sp = x.^(0:(numel(v)-1))*v.' sp = 3*x^2 + 2*x + 1 As a f...

10 years ago | 1

Answered
intlinprog gives wrong answer/uses double altough all variables are defined as integers
So I ran your test case. [X,fval] = intlinprog(f,intcon,A,b,[],[],lb,ub) LP: Optimal objective value is 4...

10 years ago | 0

| accepted

Answered
Matlab function for calculating phase of complex number
Actually, the formula is atan2(y,x) atan2 handles the problem properly, working in all 4 quadrants. If you don't believe...

10 years ago | 3

Answered
all vectors of a specific dimension summing to a particular number with elements from {0,1}
You are kidding, right? You have vectors in 1000^2 = 1,000,000 dimensions? And you want to generate all possible such vectors wi...

10 years ago | 1

Answered
How can I adjust the tolerance in vpasolve?
Anyway, even ignoring the fact that there is a variable B_2 in there that has never been defined... I see too often people th...

10 years ago | 0

Answered
I am trying to create a curve to fit a specified gradie
You have two points. You know the function values at each end point. You know the slopes at each end point. A cubic polynomia...

10 years ago | 0

Answered
help with this question
Ok, so the first nn positive integers are easy to generate. 2*(1:nn) - 1 TRY IT! Put in various values for nn. See that ...

10 years ago | 3

| accepted

Answered
Solving for A B C
You can't do so. Never can. Never will. Several reasons why. (What is In anyway?) Must we read your mind? Is this the same...

10 years ago | 0

Answered
Error using function: Not enough input arguments.
You don't RUN a function. IMHO, run (or use of it from the menu) is the worst thing they ever introduced into MATLAB, in ter...

10 years ago | 0

| accepted

Answered
I want to know that whether matlab does some regularization while solving a ill condtioned system using backslash operator ?
No. It does not. In fact, you don't want that to be done in any normal case! If it did, then when an exact solution exists, you ...

10 years ago | 0

Answered
Generating a random binary matrix with conditions
Just throw those columns away, if you get any like that, and replace them with new samples. WTP?

10 years ago | 0

| accepted

Load more