Community Profile

photo

Guillaume


Last seen: 2 dagar ago

University of Brighton

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

3 dagar 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 = ...

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

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

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

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

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

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

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

10 dagar 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)))

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

11 dagar 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)

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

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

11 dagar ago | 0

Answered
Finding which rows in table contain NaN, save those as new table
Assuming your input is a table: nantable = yourtable(isnan(yourtable{:, 5}), :) %keep all rows whose 5th column is nan

11 dagar ago | 0

Answered
Saving the selected .mat file and write it into csv
Assuming that storedStructure.data is a matrix with 3 columns, the simplest way to save to csv is with: writetable(array2table(...

11 dagar ago | 1

| accepted

Answered
Matrices in a matrix.
First thing: a matrix of matrices does not exist mathematically, so what you're asking is an impossibility. In matlab, you can s...

11 dagar ago | 1

| accepted

Answered
How to convert characters in a table into numbers
a) There's rarelly any need of table2cell or table2array. These are usually used by people who don't know how to index into tabl...

11 dagar ago | 1

| accepted

Answered
How can i make array with strings ?
Note that strictly speaking you're not creating strings but char vectors. You may actually prefer generating strings which are e...

12 dagar ago | 1

| accepted

Answered
How to save imshowpair figure using imwrite?
No, no, no, don't use print or saveas, this is possibly going to rescale your image, change the the colour depth, etc. A simple...

12 dagar ago | 2

Answered
Need help to delete garbage values from a Matrix
First, as pointed out by David, your co de doesn't take into account the properties of floating point numbers. I would strongly...

12 dagar ago | 1

| accepted

Answered
Get the value of a cell that is in the same row of matching cell in excel to matlab
readtable should be capable of finding the data range on its own, so use that to import your data. Then for merging, simply us...

12 dagar ago | 0

Answered
Find that max and its index for data with multiple data values per index
There a many functions you can use for this (accumarray, splitapply, etc.) but with any of them you're going to have to build a ...

12 dagar ago | 0

| accepted

Answered
help me to Showing the Cloud !
I have no idea what your question is, but you need to completely rethink the way you write your formula. There's no way you can ...

12 dagar ago | 0

Answered
I'm trying to use fprinft in title because when i use the sprintf function it has way too many decimals. I keep getting error messages and i dont know how to fix them
"I keep getting error messages" Then read the doc of the functions you use, in particular pay close attention to what the input...

12 dagar ago | 0

Answered
Run this code for every certain columns of tables in a cell and saving the result in new cell
Whatever the calculation is, yes it can be done with groupsummary. As Fred wrote, you will first have to write a function to per...

12 dagar ago | 2

Answered
match row column of matrix
A = [1 23 2 54 3 76 4 67 5 23]; B = [4;3]; result = A(ismember(A(:, 1), B), :) %keep the rows ...

13 dagar ago | 0

| accepted

Answered
Why wont this run? "Array indices must be positive integers or logical values."
"Why wont this run? "Array indices must be positive integers or logical values." The clue is in the error message. Array indice...

13 dagar ago | 0

Answered
Readtable, problems reading identically structured data files
There is something odd with the first few rows of your 2nd file that I haven't worked out yet. In theory, T = readtable(filenam...

13 dagar ago | 0

Answered
how to calculate deviation for set of values??
You could do the same thing you've done for the mean, use a for loop. However, a much simpler way is to reshape your input vect...

13 dagar ago | 0

| accepted

Load more