Question

ConstantLine always on the top

I have been noticing that ConstantLine, which is plotted by xline() or yline() functions, always located on the top of other obj...

ein Tag ago | 1 answer | 2

Answered

How to change the source camera?

Try: webcamlist to see the list of installed cameras. By default, the built-in camera is camera no 1, and other external came...

How to change the source camera?

Try: webcamlist to see the list of installed cameras. By default, the built-in camera is camera no 1, and other external came...

etwa 2 Monate ago | 0

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

etwa 2 Monate ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

etwa 2 Monate ago

Submitted

General functions

General-purpose MATLAB functions for public use

2 Monate ago | 6 downloads |

Question

Can't perform git push/fetch/pull from Command Window

I'm not familiar with Git or GitHub before; my first introduction to these tools are by the integration with MATLAB. I set it up...

3 Monate ago | 1 answer | 0

Question

Property inspector's font is too big in MATLAB 2019b

Greetings, I just updated my MATLAB to the R2019b version. Everything is working well so far, except the font in Property Inspe...

9 Monate ago | 0 answers | 0

Solved

Create a cell array out of a struct

Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

9 Monate ago

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

9 Monate ago

Solved

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.

9 Monate ago

Solved

Find out missing number from a vector of 9 elements

You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

9 Monate ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9 Monate ago

Solved

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...

9 Monate ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

9 Monate ago

Solved

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:...

9 Monate ago

Question

Determine the subsets of data that are the most correlated with y-data

I have a pair of X-Y data containing 20 datapoints. Each datapoints correspond to a group, there are 8 groups, so, let say, X1 -...

mehr als ein Jahr ago | 0 answers | 0

Question

histcounts() function but for polarhistogram()

Hi. I'm using polarhistogram() to plot points distribution on polar coordinate. How do I calculate the distribution without plo...

fast 2 Jahre ago | 1 answer | 0

Question

Finding theta in [-pi/2,pi/2] instead of [-pi/4,pi/4] using arctan

Hi. I need help on trigonometry. I have a signal and a formula, which I found in a paper. I wanna find theta (as in the for...

fast 2 Jahre ago | 1 answer | 0

Question

Using spectrogram function to find direction of incoming ULF emission via SSTF

Hi, So this is a very specific question, since I'm so lost for so long. I'm working with geomganetic data with X, Y and Z compo...

fast 2 Jahre ago | 0 answers | 0

Question

Horizontal 'scratch' on spectrogram

Hi, I'm working with one-year geomagnetic data. I also plot spectrogram. I have data from almost 40 geomagnetic stations, but...

mehr als 2 Jahre ago | 0 answers | 0

Question

How does MATLAB know which .mat file to LOAD when there are two files with the same name in two different folders?

I have added several paths in MATLAB so that I don't have to do it manually every time I start MATLAB. In those paths (or direct...

mehr als 2 Jahre ago | 1 answer | 0

Question

How to split data into several segments so that in each segment, the number of NaN is not more than a certain value.

I have a large data which contains around 6,500,000+ data points. I need to split/divide my data into several segments so that i...

fast 3 Jahre ago | 1 answer | 0

Question

Extracting certain frequency band

I have a signal that runs for 1 year. I'm only interested on the signal with frequency within 0.01 to 0.1 Hz. How do I extract t...

etwa 3 Jahre ago | 1 answer | 0

Question

Fast Fourier Transformation (FFT) on low sampling rate data

I am studying 1 year geomagnetic data that has sampling rate of 1 minute. I need to perform Fast Fourier Transformation to disti...

etwa 3 Jahre ago | 1 answer | 0