Researcher in Physics and Mechanics

Professional Interests: image processing, physics of soft condensed matter, mechanics, granular media, emulsions, acoustics...

Question

setup of Matlab R2021a on Linux Mint with GPU acceleration

Hi, I just installed Linux Mint 20.1 on my computer (ThinkPad P51 with Nvidia Quadro 2200m). I have issues regarding Matlab an...

2 months ago | 0 answers | 0

Question

Parameter fitting using Machine Learning techniques on time series

Hi, I have a time variying quantity X(t) that can behave according to two different behaviors, let's call them A and B. Behavi...

3 months ago | 0 answers | 0

Question

Is there a built-in function for errorbarxy?

Hi, Like many other I need to plot errorbar plot on both the x and y dimensions. I found the errorbarxy as well as the ploterr...

10 months ago | 1 answer | 0

Answered

Check if any field in a given structure is empty

It might be a bit dirty because I use a loop but it works: ind=[]; for ii=1:numel(MyStruct) if isempty(MyStruct(ii).Field...

Check if any field in a given structure is empty

It might be a bit dirty because I use a loop but it works: ind=[]; for ii=1:numel(MyStruct) if isempty(MyStruct(ii).Field...

10 months ago | 0

Question

How can I optimize this recursive for loop?

Hi, I have this recursive fo loop and I would like to know if there is some way in Matlab by which I could optimize the computa...

1 year ago | 1 answer | 0

Question

Error in Java path specification

Hi, I just got a Windows computer (Win10) and just installed Matlab 2019b. When I launch Matlab, I keep having this error messa...

1 year ago | 0 answers | 0

Answered

How to install Matlab Jupyter engine on macOS

Try this short tutorial that I posted a couple years ago: https://blog.espci.fr/notesdegeeks/2017/12/29/matlab-notebooks-in-jup...

How to install Matlab Jupyter engine on macOS

Try this short tutorial that I posted a couple years ago: https://blog.espci.fr/notesdegeeks/2017/12/29/matlab-notebooks-in-jup...

1 year ago | 0

Answered

find barycenter of several objects on an image

I just tried the following, I think I am getting close but I am quite there: % take the upper part of the matrix (above the dia...

find barycenter of several objects on an image

I just tried the following, I think I am getting close but I am quite there: % take the upper part of the matrix (above the dia...

1 year ago | 0

| accepted

Question

find barycenter of several objects on an image

Hi, I have a logical symmetric matrix in matlab: crossing_table, see attached file as well as the plot of this matrix. I would...

1 year ago | 2 answers | 0

Answered

Gtk-Message: 10:32:31.466: Failed to load module "canberra-gtk-module"

It had the same message and then I followed @Scott Minkin recommandation and I still have a message, but a different one: me@my...

Gtk-Message: 10:32:31.466: Failed to load module "canberra-gtk-module"

It had the same message and then I followed @Scott Minkin recommandation and I still have a message, but a different one: me@my...

1 year ago | 0

Answered

Write line by line a separated .csv file with a string \t an integer \t [a n*2 matrix written in line with commas and semicolon]

Ok, thanks to Walter Roberson advice to use mat2str Matlab function, I manage to obtain what I was looking for. One of the firs...

Write line by line a separated .csv file with a string \t an integer \t [a n*2 matrix written in line with commas and semicolon]

Ok, thanks to Walter Roberson advice to use mat2str Matlab function, I manage to obtain what I was looking for. One of the firs...

2 years ago | 0

| accepted

Question

Write line by line a separated .csv file with a string \t an integer \t [a n*2 matrix written in line with commas and semicolon]

Hi, because of previous functions I wrote and that I do not want to modify, I need to write line by line a separated .csv file ...

2 years ago | 2 answers | 0

Answered

why the Matlab editor is so slow to respond to keyboard and editing

You want to upgrade you kernel (in Linux, version > 5.1) and then update Matlab to its last version (R2019a update >2). See her...

why the Matlab editor is so slow to respond to keyboard and editing

You want to upgrade you kernel (in Linux, version > 5.1) and then update Matlab to its last version (R2019a update >2). See her...

2 years ago | 0

Answered

Typing in the live editor is slow on Linux

I found a work around for Mac a couple years ago (here), by installing Matlab kernel into Jupyther. Check references therein for...

Typing in the live editor is slow on Linux

I found a work around for Mac a couple years ago (here), by installing Matlab kernel into Jupyther. Check references therein for...

2 years ago | 0

Question

Detect inter-particle contact

Hi, I have a picture of emulsion droplets. I want to detect the inter-droplet contacts and for each of these patches, plot the i...

2 years ago | 0 answers | 0

Question

LaTeX interpreter but sans-serif font on figures

Hi, On LaTeX I often use the \usepackage{cmbright} font when I want to have a clean, sans-serif font both in the text and in...

2 years ago | 1 answer | 3

Question

How to fix remote Matlab display resolution when using ssh -X?

I have a Desktop computer (Ubuntu 18.10) which I use for my heavy computations. When not at the office, I use my Macbook (Late 2...

2 years ago | 1 answer | 0

Answered

how to install a downloaded toolbox?

I think you can find the answer here: <https://www.mathworks.com/help/matlab/ref/matlab.addons.toolbox.installtoolbox.html>

how to install a downloaded toolbox?

I think you can find the answer here: <https://www.mathworks.com/help/matlab/ref/matlab.addons.toolbox.installtoolbox.html>

3 years ago | 3

| accepted

Answered

Why does MATLAB crash when plotting in Linux with Nvidia drivers?

As previously said, this crash is caused by the Linux Nvidia driver. As a general rule, update the driver of your Nvidia GPU to ...

Why does MATLAB crash when plotting in Linux with Nvidia drivers?

As previously said, this crash is caused by the Linux Nvidia driver. As a general rule, update the driver of your Nvidia GPU to ...

3 years ago | 2

Question

What is the difference between mean(A,'omitnan') and nanmean(A) ?

Hi, I have a vector A (or could be a matrix) which contains finite values as well as NaNs. I want to compute the mean value of...

3 years ago | 2 answers | 0

Answered

How to adjust the zcolor scale in a scatter plot?

Ok, found it thanks to il_raffa on Stack Overflow ;) I use the clim option: set(gca,'clim',[lb ub]) lb and ub being the...

How to adjust the zcolor scale in a scatter plot?

Ok, found it thanks to il_raffa on Stack Overflow ;) I use the clim option: set(gca,'clim',[lb ub]) lb and ub being the...

4 years ago | 0

| accepted

Question

How to adjust the zcolor scale in a scatter plot?

Hi, I have a data set, contained in three vectors say xx, yy and zz. I want to plot yy vs xx with the marker color face accordi...

4 years ago | 1 answer | 0

Question

How to install, load CUDA driver and set Matlab to do GPU processing on my Apple Macbook Pro Retina running OS X 10.10 Yosemite ?

Hello, I would like to use some parallel computing function using the GPU. I tried to use gpuarray function but I have got th...

6 years ago | 0 answers | 0