Community Profile

photo

Tyler


Last seen: 3 days ago Active since 2016

Statistics

All
  • First Review
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
What is wrong with my vector calculator code?
Hi Hunter, When I run your code, I get the following outputs: xnew = [-0.3090;-0.3090] ynew = [-0.9511;0.9511] zne...

5 years ago | 0

Question


Quiver3 resets axes automatically?
I'm using the quiver3 function in a for loop, and each time I am replotting the arrows in different locations. However, I want t...

6 years ago | 0 answers | 1

0

answers

Question


How to correctly order polygon vertices?
I have a set of vertices [x,y] for a specific polygon. I want to use the inpolygon function to determine points within the polyg...

6 years ago | 1 answer | 0

1

answer

Answered
reshape the dimension of a matrix
The simple answer is no, those arrays do not have the same number of elements. But if you can explain why you want to reshape th...

7 years ago | 0

Question


Generate pdf distribution with bias
I'm curious if anyone knows how to bias a probability density function. For example, I want to create a pdf from vector A, but I...

7 years ago | 1 answer | 0

1

answer

Question


Distance between two functions
I'm creating multiple probability density functions (pdfs), comprised of x and y values, and would like to compare these to anot...

7 years ago | 2 answers | 0

2

answers

Question


Units for Tic/Toc?
Hi all, I would just like to verify that the units for tic/toc are always in seconds. If I run something for multiple days, w...

7 years ago | 1 answer | 0

1

answer

Question


Loading .mat file into a variable
I have a bunch of .mat files, each containing a specific variable that I would like to combine into one variable. Yes, I know th...

7 years ago | 1 answer | 0

1

answer

Question


Remove duplicate cells from cell array of different dimensions
Hi, I have a cell array C of nx1, where each cell contains a vector of different values. Each vector has a different length, ...

7 years ago | 1 answer | 0

1

answer

Answered
2015a help button issue
I don't know where your error comes from, but one thing you can do is google the command, Matlab has all the documentation onlin...

7 years ago | 0

| accepted

Question


2D Voronoi Diagram with Periodic Boundary Conditions
Hi, Does anyone know how to create a 2D voronoi diagram with periodic boundary conditions? Thanks!

7 years ago | 1 answer | 2

1

answer

Answered
Entropy Versus Time - Random Walks
I'm not an expert on this stuff, but you should look into axis handles, here is an answer that may help- https://www.mathwork...

7 years ago | 0

Answered
Storing 2 values in one location of matrix with a space
Stephen is right, the only way to do that is with a cell array. http://www.mathworks.com/help/matlab/cell-arrays.html

7 years ago | 0

Question


fprintf cell array to .txt file
Hi, I have a cell Array C that contains vectors of different length. I would like to print this data to a text file in the f...

7 years ago | 1 answer | 0

1

answer

Question


Median vs Mean averages using skewness
Hi, I would like to take the average of some data, but I'm unsure whether to use median or mean. I know of the skewness f...

8 years ago | 1 answer | 0

1

answer

Question


Cumulative Median in place of mean
Is there a way to find a cumulative median of an array without using a loop? I know of the cummean function on the file exchange...

8 years ago | 1 answer | 0

1

answer

Question


Subplot Titles Don't Appear
Hi, I just have a simple question about subplot titles. I have the following code- figure subplot(1,2,1) [hax1,hline1] =...

8 years ago | 2 answers | 0

2

answers

Question


Creating Fit Curve/Prediction Interval for Scalar output
I have some data for which I would like to create a 95% prediction interval, where I could say that 95% of the time the next obs...

8 years ago | 0 answers | 0

0

answers

Question


Using a while loop on each column in an array?
Hi all, I have a script that performs an action on each column of an array at once. I would like to set up a loop where I do ...

8 years ago | 1 answer | 0

1

answer

Question


How to copy an array with some left-over indicies also added on?
I have the following vector I would like to copy: a = [1;2;3;4;5] I would like my resulting vector to be b = [1;2;3...

8 years ago | 3 answers | 0

3

answers

Question


Replacing a for loop with logical indexing
If someone could help me out with this simple problem, I would really appreciate it. I'm still trying to wrap my head around ind...

8 years ago | 2 answers | 0

2

answers

Question


Logical indexing 2d to 3d without a for loop
Hi, this may be a simple question, but any help would be appreciated. I have an array g = 100 x 5, and a much larger array w ...

8 years ago | 0 answers | 0

0

answers

Question


Logical indexing without for loop
Hi all, This is probably a simple question, but I would love some input from those who can lend it. I have a vector [A] I wou...

8 years ago | 2 answers | 0

2

answers

Question


Saving arrays in a For loop (3D array)
I am running a For loop where each loop outputs an m x n array. I would like to save these arrays into a 3D array, m x n x k, wh...

8 years ago | 1 answer | 0

1

answer

Question


Moving Variance, variable window size
Is there a way to calculate the moving variance of a data set with a variable window size? I would like my window size to be det...

8 years ago | 1 answer | 0

1

answer

Question


Find the First element that satisfies a condition
I have an nxn matrix and would like to find the first element in each row that satisfies a given condition, and gives me NaN if ...

8 years ago | 4 answers | 0

4

answers