Community Profile

Arvind Ganesh

BITS Pilani

Last seen: nästan 2 år ago Active since 2017

Engineering student; researching in physics

Content Feed

View by

Question

How to compute Wasserstein distance?
I have two probability distributions in arrays P and Q (normalized by area, of same length, and over same sample space). I want ...

nästan 3 år ago | 1 answer | 0

1

Question

How to use the exist feature with an if statement?
exist varname gives valid output. But if(exist varname) throws an error as "Unexpected matlab expression". How to fix this?

ungefär 3 år ago | 1 answer | 0

1

Question

How to increase number of colors in colorbar, and how to draw boundaries of regions?
I have this scatterplot, obtained through this command. scatter(longitude,latitude,15,VR1,'filled');colorbar; The blue regio...

mer än 3 år ago | 1 answer | 0

1

Question

Flip the Y-axis ticks without flipping the plot
I'm having a 2D scatter plot. The Y-axis ticks go like 0,5,10..35 I want the plot to remain as it is, but flip the ticks so t...

mer än 3 år ago | 3 answers | 0

3

Question

Quantifying fit of data to distribution
I have a vector of data and want to see which distribution fits it best. I can *fitdist* to find the parameters of the closest f...

mer än 3 år ago | 1 answer | 0

1

Question

Changing the matlab seed
The seed is not changing when I close the Matlab and open a new one. The seed is always being set as 0. How can I fix this?

mer än 3 år ago | 2 answers | 0

2

Question

What values of frequency are considered for the output of fft function?
For example, when I type fft([1 2 3]) the output is [6.0000+0.0000i -1.5000+0.8660i -1.5000-0.8660i]. Which value of frequency d...

mer än 3 år ago | 1 answer | 0

1

Question

What is wrong with the following code using ezplot?
syms u v x= u^2+sin(v); y= tan(v); z= 1/(tan(u)+sin(v)); ezplot(@(u,v)tan(x)+y+sin(z)==0) % I want a 2D plot of...

mer än 5 år ago | 1 answer | 0