Community Profile # Adib Yusof

### Universiti Kebangsaan Malaysia

28 total contributions since 2017

#### Adib Yusof's Badges

View details...

Contributions in
View by

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

2 months ago | 0

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

2 months 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 months ago | 1 answer | 0

### 1

answer

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 months ago | 1 answer | 0

### 1

answer

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

5 months ago | 1 answer | 2

### 1

answer

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

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

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

7 months ago

Submitted

General functions
General-purpose MATLAB functions for public use

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

8 months ago | 1 answer | 0

### 1

answer

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

1 year ago | 0 answers | 0

### 0

answers

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

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

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

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

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

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

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

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

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

1 year ago | 0 answers | 0

### 0

answers

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

2 years ago | 1 answer | 0

### 1

answer

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

2 years ago | 1 answer | 0

### 1

answer

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

2 years ago | 0 answers | 0

### 0

answers

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

2 years ago | 0 answers | 0

### 0

answers

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

3 years ago | 1 answer | 0

### 1

answer

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

3 years ago | 1 answer | 0

### 1

answer

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

3 years ago | 1 answer | 0

### 1

answer

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

3 years ago | 1 answer | 0

answer