Community Profile

### Universiti Kebangsaan Malaysia

28 total contributions since 2017

View details...

Contributions in
View by

Multiple Image like subplot
Hello, You still can use subplot alongside with imagesc. Just call subplot first, and then call imagesc. Or even better, use t...

ongeveer 2 maanden ago | 0

How to label x tick at every 2 and y tick at 0.2?
Hey, try this: Ax = gca; set(Ax.XAxis, 'TickValues', 0:10:100, 'MinorTick', 'on', 'MinorTickValues', 0:2:100); set(Ax.YAxis, ...

ongeveer 2 maanden ago | 0

| accepted

Question

Remote workers still access data files from the client despite the files have been copied to the remote host beforehand
Hi, I have two PCs, and I use Parallel Server and Parallel Computing to utilize the cores in both PCs simultaneously. Since the...

2 maanden ago | 1 answer | 0

### 1

Question

Trim only edge NaN values
Say I have a variable: X = [NaN, NaN, 2, 5, 1, 6, NaN, 1, NaN NaN]; I need to remove/trim NaNs only when they occur at the edg...

3 maanden ago | 1 answer | 0

### 1

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

4 maanden ago | 1 answer | 2

### 1

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

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

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

6 maanden ago

Submitted

General functions
General-purpose MATLAB functions for public use

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

7 maanden ago | 1 answer | 0

### 1

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

ongeveer een jaar ago | 0 answers | 0

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

ongeveer een jaar 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...

ongeveer een jaar 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.

ongeveer een jaar 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...

ongeveer een jaar 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 ...

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar 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:...

ongeveer een jaar 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 -...

meer dan een jaar ago | 0 answers | 0

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

meer dan 2 jaar ago | 1 answer | 0

### 1

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

meer dan 2 jaar ago | 0 answers | 0

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

meer dan 2 jaar ago | 0 answers | 0

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

ongeveer 3 jaar ago | 1 answer | 0

### 1

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

ongeveer 3 jaar ago | 1 answer | 0

### 1

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

meer dan 3 jaar ago | 1 answer | 0