Community Profile

photo

Guillaume


Last seen: Today

University of Brighton

7,534 total contributions since 2012

Guillaume's Badges

  • Scavenger Finisher
  • Thankful Level 1
  • 36 Month Streak
  • Master
  • Introduction to MATLAB Master
  • Quiz Master
  • Leader
  • First Review
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Puzzler
  • Creator
  • Scholar
  • Speed Demon

View all

Contributions in
View by

Answered
Error while evaluating UIControl Callback.
I cannot debug the code for you, I neither have the time or the necessary hardware to receive the serial data. The problem is n...

37 minutes ago | 0

Answered
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.?
As per the error message: check for mismatched delimiters c(i+1) = c(i) - parError(c(i), m, g)/pardError(c(i), m, g)) I count ...

1 hour ago | 0

Answered
unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
The documentation is not very clear, but I believe that fscanf(arduino, '%c') is the same as fscanf(arduino) and that this reads...

1 hour ago | 0

Answered
Fillet between two intersecting lines
Other than calculating the equation of the arc yourself and plotting that, there's no way. Matlab is not a drawing/CAD program. ...

15 hours ago | 0

Answered
Sum specific values from a matrix
"What im trying to do is to add all the amplitudes off column 1 for a specific frequency range" This is a different question fr...

1 day ago | 0

| accepted

Answered
how can i create a 400 by 400 matrix with a pattern?
full(gallery('tridiag', 400)) If the subdiagonal, diagonal and superdiagonal were anything other than -1, 2, 1, for example: 1,...

1 day ago | 0

Answered
CELL2MAT does not support cell arrays containing cell arrays or objects.
Indeed cell2mat does not support converting a cell array containing objects into a matrix. It looks like your cell array contain...

1 day ago | 0

Answered
Usage of regionprops3 command
but it is accepting RGB and HSV (three channel) images. No, regionprops3 is for volumes exclusively. If you pass it a 2D colour...

4 days ago | 0

Answered
Why does a Java MessageDigest not reset in a for loop?
The first thing to be aware of, and the main reason for why your code doesn't work is that your thisStr is a string and not a ch...

4 days ago | 0

Answered
Finding whether set of coordinates are within a bounding box set by a condition
Can't you just create an interpolant for your elevation and query the interpolant at your desired coordinates. It's then trivial...

5 days ago | 0

Answered
selection files from part of his name
Patterns for strfind and its recommended replacement contains don't support wildcard characters such as * and ?. In any case, th...

5 days ago | 0

Answered
Creating a random matrix with specific values?
valueset = [0, 90, 180]; desiredsize = [1, 100]; desiredmatrix = valueset(randi(numel(valueset), desiredsize))

5 days ago | 0

| accepted

Answered
How to generate new vector and replace certain elements?
Nearly got it: meanV = mean(V); %save the mean in a new variable to avoid calculating it more than once V(V > meanV) = V(V > ...

5 days ago | 0

| accepted

Answered
Matrix dimensions must agree error
First, do not use eval. It's not the cause for your problem here but it's a very dangerous tool which typically makes it harder ...

6 days ago | 0

Answered
Removing Short Runs from Binary Data
The desired one-liner: %demo data A = [1 1 1 0 0 1 1 1 1 0 0 0 0 1 1 0 0 0 1 0 0 0] %should result in % [1 1 1 1 1 1 1 1 1...

6 days ago | 1

Answered
How to delete a .csv in my directory
delete subfolder\filename.csv %relative path to current directory But you shouldn't rely on the main directory and instead use...

6 days ago | 0

| accepted

Answered
Grouping calculated values of for loops together
I'm not entirely clear on what you mean by boxplot nor what you're trying to achieve since none of the pieces of code you posted...

11 days ago | 1

| accepted

Answered
Convert grayscale CMYK to RGB
I have some images of fish scales that are CMYK gray Not according to the metadata: >> imfinfo('example_img.TIF') ans = ...

12 days ago | 0

| accepted

Answered
How do I add an Excel spreadsheet as part of my Matlab UI?
The only way you could do this is with an activex control but my understanding is that microsoft no longer offer an activex spre...

12 days ago | 0

Answered
dec2base working differently on a matrix than on individual values
From your screenshot, it looks like you've typed: >> message_Image_R_bin at the command window and scrolled back up until the ...

12 days ago | 2

| accepted

Answered
how to compare two text file and sort the lines of one of them with respect of another one ?
So, it will go something like this:]( %read the files. Not enough details given to give exact syntax. Something like this shoul...

12 days ago | 0

| accepted

Answered
0×1 empty double column vector
a) If you want to generate integers between 0 and 19 use: auswahl = randi([0 19], 100, 1); %use randi to generate random integ...

13 days ago | 0

Answered
Sharing data between callback functions
"The issue with imread is that I need to access the file that was chosen in another callback function. So I am not sure how to g...

14 days ago | 0

| accepted

Answered
Need better resolution in my plot!
I'm a bit confused. I still have no idea which bits of code are relevant. Still can't run example.m and I'm unclear what to to d...

15 days ago | 0

| accepted

Answered
WebRead CSV Missing Rows show in browser
If I try to download the file from your link, using a web browser, I only get a few rows. Considering that when you visit the ma...

18 days ago | 0

Answered
I just need to draw that line inside these objects. This line should aproximate these
Maybe skeleton = bwskel(imclose(yourimage, strel('diamond', 2)))

18 days ago | 0

Answered
Create new matrix with compine values
First, don't store your matrices in individual variables, it complicates everything. Since they're all the same size store them ...

18 days ago | 1

| accepted

Answered
How to make a 3D plot of 41x41x41 datapoints
If you have the image processing toolbox, the easiest would be: volshow(your3Dmatrix)

18 days ago | 0

Answered
Comparing data sets with similar trends
It depends on what you call similar. If I understood correctly, here you could transform your path in a vector of left and righ...

19 days ago | 0

Answered
Converting cell array that contains numbers and characters to double with numbers and NaN for characters
First, use readtable instead of xlsread. It will automatically detect that the first row is a header and use that to name the va...

19 days ago | 0

Load more