
LeChat
Followers: 0 Following: 0
Feeds
已回答
How to have a new line inside a string ?
What about if we need to write a graph title over two lines? With title({'First line'},{'Second line'}) I managed to have t...
How to have a new line inside a string ?
What about if we need to write a graph title over two lines? With title({'First line'},{'Second line'}) I managed to have t...
21 days 前 | 0
提问
Pass a plot handle into a function argument
Hi, I would like to write a function to easily remove the plot I just created from the figure legend. Say I call the plot plt s...
1 year 前 | 3 个回答 | 0
3
个回答提问
reading serial COM port on the fly (weighting scale -> WinPC)
Hi, I am trying to read on the fly output data from a serial COM port on a weighting scale (mine is a Sartorius Entris), on my ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Superclass contains a parse error
Hi, For one month now, I have been having the following error when launching a code (any code containing "readtable" command) r...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Where to store my pathdef.m
You need to name the file along with the path your are giving. So go to the menu Home>Set Path, then set up your path and save....
Where to store my pathdef.m
You need to name the file along with the path your are giving. So go to the menu Home>Set Path, then set up your path and save....
3 years 前 | 0
提问
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...
4 years 前 | 1 个回答 | 1
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答已回答
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...
4 years 前 | 0
提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 0 个回答 | 0
0
个回答已回答
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...
5 years 前 | 0
已回答
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...
5 years 前 | 0
| 已接受
提问
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...
5 years 前 | 2 个回答 | 0
2
个回答已回答
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...
5 years 前 | 0
已回答
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...
5 years 前 | 0
| 已接受
提问
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 ...
5 years 前 | 2 个回答 | 0
2
个回答已回答
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...
5 years 前 | 0
已回答
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...
5 years 前 | 0
提问
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...
6 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 1 个回答 | 3
1
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答已回答
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>
6 years 前 | 3
| 已接受
已回答
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 ...
7 years 前 | 2
提问
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...
7 years 前 | 2 个回答 | 0
2
个回答已回答
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...
8 years 前 | 1
| 已接受
提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 0 个回答 | 0