balsip
Followers: 0 Following: 0
統計
24 質問
0 回答
ランク
of 153,912
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
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年 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 2 件の回答 | 0
2
回答質問
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年以上 前 | 2 件の回答 | 2
2
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 2 件の回答 | 1
2
回答質問
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年以上 前 | 0 件の回答 | 2
0
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 3 件の回答 | 0
3
回答質問
Using Consolidator with Zeros
Using <https://www.mathworks.com/matlabcentral/fileexchange/8354-consolidator Consolidator> with a vector comprised of whole num...
8年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 1 件の回答 | 0
1
回答質問
"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年 前 | 1 件の回答 | 0