Feeds
提问
Why does my mex-function for linear regression return r-squared values above 1?
In a mex-file I have a function called _ols()_ that is supposed to calculate a linear regression for two vectors, 'x' and 'y'. ...
6 years 前 | 1 个回答 | 0
1
个回答提问
How could I translate this Python code to Matlab?
I have this python code that I would like to convert to Matlab code. Could anyone help me convert from one language to the other...
6 years 前 | 1 个回答 | 0
1
个回答提问
Why do I receive error " Unable to create com.mathworks.toolbox.shared.controllib.desktop.ToolGroupWrapper$DefaultToolGroup" when using Simulink response optimization?
Hi, whenever I click the button *Design Variables Set* in Simulink's response optimization window, I get the following error:...
10 years 前 | 0 个回答 | 0
0
个回答提问
How to speed up this graph filtering algorithm?
Hi, I'm using the <http://www.mathworks.com/matlabcentral/fileexchange/38689-pmfg PMFG> algorithm to filter out the insignifi...
11 years 前 | 0 个回答 | 0
0
个回答提问
Help with 'underwater' plot
I'm trying to create a so-called underwater plot for a time series *ts*, where all of the points that follow the most recent loc...
11 years 前 | 2 个回答 | 2
2
个回答提问
Help on creating a comma-separated list of financial time series objects
I'm trying to create a list of comma-separated financial time series objects (fints), in order to pass it to the financial toolb...
11 years 前 | 1 个回答 | 0
1
个回答提问
Mex error with GNU Scientific Library
Hi, I've downloaded c++ code from the file exchange that implements the <http://www.mathworks.de/matlabcentral/fileexchange/...
11 years 前 | 1 个回答 | 0
1
个回答提问
How to set all non-finite elements of a matrix to the minimum of the corresponding column?
Hi, I have a matrix *m* and want to set all elements that are NaN, Inf or -Inf to the minimum of the corresponding column. Fo...
11 years 前 | 1 个回答 | 0
1
个回答提问
Scaling positive and negative weights
Hi, I have a vector that contains positive as well as negative weights. For example: 0.75 -0.14 -0.92 0.56 -0.2...
11 years 前 | 1 个回答 | 0
1
个回答提问
n-dimensional matrix - Store the indexes of the n-th dimension in n-th cell
I have a n-dimensional matrix *M*. Now I'm looking for a way to create a 1xn cell array, where the index vector of the n-th dime...
11 years 前 | 1 个回答 | 0
1
个回答提问
How to find all neighbours of an element in N-dimensional matrix
I just can't wrap my head around how to find all neighbours of an element in a N-dimensional matrix. After reading through the d...
11 years 前 | 4 个回答 | 1
4
个回答提问
Find maximum number of consecutive negative values
Hi, I have a mxn matrix and I need to find the maximum number of consecutive negative values for each column. So the outpu...
11 years 前 | 3 个回答 | 0
3
个回答已解决
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
11 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
11 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
11 years 前
已解决
Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...
11 years 前
提问
Help with vectorizing find command
Hi, I'm working on some code for _roulette wheel selection_ and have some problems vectorizing the last two lines of this sec...
11 years 前 | 2 个回答 | 0
2
个回答提问
What's wrong with this textbox annotation?
I'd like to create a textbox annotation in a figure called "figure1", but it always gives me an error saying that there are too ...
11 years 前 | 1 个回答 | 0
1
个回答提问
Can anyone help me improve this code?
I'm working on a function which takes an n-by-1 array (called "ts") as input and creates a n-by-n matrix (called "V"), where eac...
11 years 前 | 1 个回答 | 0
1
个回答提问
Executing TISEAN binaries from within Matlab on Mac OS X 10.6.8
Hello, I downloaded TISEAN binaries for Mac, but unfortunately I just can't get it working on my Mac OSX 10.6.8. Everytime...
11 years 前 | 1 个回答 | 0
1
个回答提问
Using TISEAN package in Matlab
Hi, I want to use functions from the TISEAN package in Matlab and I've tried to implement this as suggested <http://www.agnld...
12 years 前 | 1 个回答 | 0
1
个回答已回答
Why do I get these error messages when using "MexMe"?
Jan, do you get the same errors/problems when running Mexme?
Why do I get these error messages when using "MexMe"?
Jan, do you get the same errors/problems when running Mexme?
12 years 前 | 0
已回答
Why do I get these error messages when using "MexMe"?
I spent a couple of hours today searching through C/C++ forums for the solution to the error message I get in line 33 - without ...
Why do I get these error messages when using "MexMe"?
I spent a couple of hours today searching through C/C++ forums for the solution to the error message I get in line 33 - without ...
12 years 前 | 0
提问
Why do I get these error messages when using "MexMe"?
I'd like to use <http://www.mathworks.com/matlabcentral/fileexchange/31257-mexme-write-mex-files-in-no-time MexMe> to create mex...
12 years 前 | 3 个回答 | 0