balsip
Followers: 0 Following: 0
Statistics
24 Questions
0 Answers
RANK
8,419
of 295,527
REPUTATION
5
CONTRIBUTIONS
24 Questions
0 Answers
ANSWER ACCEPTANCE
91.67%
VOTES RECEIVED
5
RANK
of 20,242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,057
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
nanmean returns -Inf
Vector A is 7627x1 vector with 150 values, 10 of which are negative, and the rest are NaNs. Calling nanmedian(A) returns a re...
7 years ago | 1 answer | 0
1
answerQuestion
Using surf to compare three vectors
I'd like to compare three vectors graphically, and I think surf is the function to use. In exploring surf, I can't wrap my he...
7 years ago | 2 answers | 0
2
answersQuestion
Obtaining slope from fitlm results
With results from fitlm, how does one disentangle the linear regression's slope? I'm simply trying to plot the regression over t...
7 years ago | 2 answers | 2
2
answersQuestion
Using and Reading PCA Statistical Results
Using pca() with a 7627x17 matrix of variables (columns = variables, rows = observations), I am outputting the coeff and explain...
7 years ago | 1 answer | 0
1
answerQuestion
Add Column and Row Labels to Matrix
I'd like to add string data column and row labels (aka "headers") to a 5x13 matrix. I've expanded the matrix to 6x14 with NaNs t...
7 years ago | 2 answers | 1
2
answersQuestion
Reading Robustfit Stats Results
Using robustfit, I'm looking to find the R^2 and p-value for the resulting linear regression. I'm using two vectors, and returni...
7 years ago | 0 answers | 2
0
answersQuestion
How to average sequential chunks of one vector based on the criteria of another
Good Afternoon, Working with a time vector, *EChr* (values 0-23.5, in 0.5 increments), and another vector, *A*, I need to ave...
7 years ago | 1 answer | 0
1
answerQuestion
In for loop, add same fractional value to all non-integers in the vector
Hello, In vector A, I have values that are either integers or fractional values (all are X.3000). I'd like to add 0.2 to all ...
7 years ago | 1 answer | 0
1
answerQuestion
In a for loop, how do I combine rows when values are equal?
I'm having trouble with the syntax of a for loop. In a vector, A, rows sometimes repeat values in succession. What I'd like to d...
7 years ago | 1 answer | 0
1
answerQuestion
How do you return the value of one vector at specified value of another vector
I want to return the value of a vector A at the specified value of vector B. So, when vector B = 805, I'd like code to return...
8 years ago | 2 answers | 0
2
answersQuestion
Include a string variable for a plot title in function prompt
Hello, I have a plot function that includes a title () call. In the function's prompt, I would like to provide not only t...
8 years ago | 1 answer | 0
1
answerQuestion
Use a character variable for a title in a plot function
Hello, I would like to use a pre-defined variable within the title of a plot function. The code that doesn't work is: Sit...
8 years ago | 2 answers | 0
2
answersQuestion
Limit plot's x-axis to number of rows in a specified vector
Hello All, I've got an easy one for you: I want to limit the x-axis on a plot from 0 to the total number of rows in the "A...
8 years ago | 1 answer | 0
1
answerQuestion
Adding Rows with Specific Values to Existing Variables
Hello, I have a 7x1 variable ("X1") to which I need to add a row at the beginning (cell value = 0) and a row at the end (cell...
8 years ago | 1 answer | 0
1
answerQuestion
Solving 7x7 Matrix Returns Very Long Fractions
Hello, I'm solving a 7x7 matrix. After inputting the A matrix and B vector and solving, the returned solutions for X are very, ...
8 years ago | 1 answer | 0
1
answerQuestion
Applying the Consolidator function in a loop over a specified interval of a vector
Matlab beginner here... I have a time series ("d41", 3335 elements). d41's values correspond with integer-hours of the day ("...
8 years ago | 1 answer | 0
1
answerQuestion
Solution to "Subscripted assignment dimension mismatch" error
Hello, I have a loop in which I'm applying the Consolidator function. The Consolidator line contains the error, and naming the...
8 years ago | 1 answer | 0
1
answerQuestion
Step loop forward 10 units of a vector every iteration
*** UPDATE: To help clarify, I'm zooming out on my original problem. I have a long timeseries (OCS_d41) of 1/Hz data along a ti...
8 years ago | 3 answers | 0
3
answersQuestion
Using Consolidator with Zeros
Using <https://www.mathworks.com/matlabcentral/fileexchange/8354-consolidator Consolidator> with a vector comprised of whole num...
8 years ago | 1 answer | 0
1
answerQuestion
How can I subtract vectors of different lengths?
Hello, I have two vectors of different lengths: * LargerVec (length=7012) * SmallerVec (length=7004) The best way I've...
8 years ago | 1 answer | 0
1
answerQuestion
How do I populate a column with a constant value?
I am trying to populate a column in a newly created empty variable (ConstantVector) with a constant value for the column length ...
8 years ago | 2 answers | 0
2
answersQuestion
How can I add sequential integers to .mat filename?
I have the following code running within a for loop, which appends a random integer to a .mat filename because it's using "randi...
9 years ago | 1 answer | 0
1
answerQuestion
How can I make data points in one variable NaN according to another time-based variable?
I have one variable (X) for which I need to remove data (convert to NaN) for a ten-minute time span when another variable (Y) sw...
9 years ago | 1 answer | 0
1
answerQuestion
"randi(100)" Outputting Characters Instead of Integers
In line 2 below, "randi(100)" is returning characters, including black spaces, instead of integers. What code is converting "ran...
9 years ago | 1 answer | 0