Community Profile

photo

Guillaume


University of Brighton

7.127 total contributions since 2012

Guillaume's Badges

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

View all

Contributions in
View by

Answered
could anyone help me how to group the numbers into sets
As the documentation of mat2cell explain, the dim inputs specify the size of each block along a particular dimension. The sum of...

1 día ago | 1

Answered
Switch case on an array
Yes, it's a lot clearer. So, the transition to a char array is a complete red herring. It's totally unnecessary. Using sequenti...

1 día ago | 1

| accepted

Answered
So I wanted to split the 1X15 cell to different cells.
If you want to perform group statistics, the simplest is indeed to put everything in just one table: allresults = vertcat(resul...

2 días ago | 2

| accepted

Answered
Mathworks Questions Resolved.
Simply click on the Accept this Answer button that should be visible below the answerer's name. (Like you should see below my na...

3 días ago | 0

| accepted

Answered
R2019b Mojave does not start
For installation and startup issues, Mathworks support is always available regardless of your license. So I recommend you contac...

3 días ago | 1

Answered
Can we use l,k,z as global variables in GUI rather than using x,y,z ?
You shouldn't be using global variables at all. There's always better ways of doing whatever it is you're doing. As for the nam...

3 días ago | 1

| accepted

Answered
Can i give mathworks a tip on the development of MATLAB?
You can suggest whatever you want to mathworks via a service request. Whether or not, they act on it is another matter. For you...

3 días ago | 1

Answered
Check if a set of coordinates are on a line
Probably, the best way is to use polyfit (which does a least square fit) and look at the norm of the residuals. If it's small en...

3 días ago | 0

Answered
New serial communication with serialport()
But now, I don't see a way to access the serialport object created in the beginning in other functions You just have to pass th...

3 días ago | 0

| accepted

Answered
Getting an error of 'Reference to non-existent field'
The way traj_generator is coded, when t is 0, it returns a structure with only 3 fields: pos, yaw and yawdot (these last two are...

3 días ago | 0

| accepted

Answered
bwboundaries : missing coordinates of one of the two borders of my image
The problem has nothing to do with bwboundary. The problem is with you calling plot in a loop without hold on, so each time you ...

3 días ago | 0

Answered
vector of integers modification
Possibly: rank = [4, 1, 2, 2, 4]; [~, ~, rank_new] = unique(rank)

3 días ago | 2

| accepted

Answered
Converting a date in character format to an actual date recognized by MATLAB
Your allDate = datetime(zeros(1,length(Filename))); will only work if length(Filename) is 3 or 6. Otherwise you'll get an err...

3 días ago | 0

| accepted

Answered
Using 'assignin' to assign value to variable 'max'
First and foremost, you shouldn't be using assignin and its friends (evalin, etc.). There's always better ways to do whatever yo...

3 días ago | 1

| accepted

Answered
Getting an 'Array indices must be positive integers or logical values' error
You should read the comments at the top of the function and understand them. In particular, the function must be initialised fi...

3 días ago | 1

| accepted

Answered
Why does jsonencode parser does not remove exponential notations when format longG is used?
The straightforward answer to your question is simple. format has nothing to do with jsonencode, it only affects display at the ...

3 días ago | 1

| accepted

Answered
Multiple 'EndOfLine' readtable
This has nothing to do with the EndOfLine character (which is typically not rendered when viewed in a text viewer). As the erro...

3 días ago | 2

Answered
Unique rows of 2 cells with 2 columns each.
merged = [new; old]; %simpler way to write vertcat(new, old) [~, row] = unique(merged(:, 1)); %get row index of unique values...

4 días ago | 1

Answered
One measure greater than another?
Note than an even simpler way to extract data from a table is with dot indexing: Wanted = T.SFStartFreqHzoffundamental; %equiv...

4 días ago | 0

| accepted

Answered
Please explain the following line of code
What couldn't you run the code and see what it does? Your line of code is just a convoluted of doing: o(1:2:end) = -32 which ...

4 días ago | 0

| accepted

Answered
Rearrange a given array
This would work as long as V has a multiple of 10 elements: %demo data V = [ 19 15 11 2 16 3 1 18 14 3 18 19 20 1 13 4 14 3 1 ...

4 días ago | 0

| accepted

Answered
Matlab displays truncated output with elipses. How do I fix this?
As far as I can tell, this is and has always been normal behaviour in the live script editor. Same as with normal scripts, you...

5 días ago | 1

| accepted

Answered
Readtable for a huge (no good schema) CSV file!
As has been suggested you will have to parse the header and the values separately. It can't be done with the same readtable call...

5 días ago | 0

Answered
Run ImageJ plugin OrientationJ using MIJI from Matlab
For 1), unfortunately, it's a problem with your plugin which clearly has not been designed to run non-interactively. Unless the ...

5 días ago | 0

Answered
'.' is not an internal or external command, nor is it a runnable program or batch file
First use fullfile to build paths instead of string concatenation and adding the path separator yourself. It would be more relia...

5 días ago | 2

Answered
Variable in Text [Matlab]
How can I implement variable to the text variable You don't! Numbered variables are always a bad idea. Instead you use indexing...

6 días ago | 0

Answered
Import of tables from R where the first line describing the column names is one element shorter
Yes, readtable expects the variable name line to have a placeholder (DimensionName) for the row name column. I suggest you raise...

6 días ago | 1

| accepted

Answered
changing file name in matlab
Something like this should work: folder = 'C:\somewhere\somefolder'; %whichever folder contains the files filelist = dir(fu...

6 días ago | 1

Answered
matrix mis-match
There doesn't appear to be any logic behind the choice of * vs .*, / vs ./, etc. If you don't understand the difference between ...

9 días ago | 1

| accepted

Answered
multiply two series of vector in loops
Assuming R2016b or later: result = MA .* permute(MB, [3, 2, 1]); will give you a 3D matrix, where result(i, :, j) is MA(i, :) ...

9 días ago | 0

| accepted

Load more