Community Profile

photo

Guillaume


University of Brighton

6,702 total contributions since 2012

Guillaume's Badges

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

View all

Contributions in
View by

Answered
Creating timetable from excel for rainfall data
Considering that excel has a perfectly working date/time time, one must wonder why you're not using it. At least, encoding the d...

6 hours ago | 0

Answered
How to read and print text cell by cell in csv file ?
The brackets around csvread are useless clutter. rows is not a valid matlab function. endfor is not a valid matlab statement. ...

6 hours ago | 0

Answered
Receive negative number from HC-05
I don't have the fixed-point toolbox but I would suspect that bitsll returns an 8 bit integer if the input is 8 bit. You say yo...

14 hours ago | 0

Answered
Re-enable a callback function
Probably, the simplest thing would be to prevent the error being detected and hence the callback from being disabled. For that I...

21 hours ago | 0

| accepted

Answered
Error using vertcat Dimensions of matrices being concatenated are not consistent.
At least, one of the expressions in your F does not return a scalar. To find which one, you will have to try each one individual...

2 days ago | 0

| accepted

Answered
matrix insert with a condition
A = [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

2 days ago | 0

| accepted

Answered
How to write the matlab command for creating the nested structures ?
In my opinion, you're better off sticking with what you have. It's a lot clearer than the one-liner. If you really want the one-...

2 days ago | 0

| accepted

Answered
extract data for a specified date and time period
Screenshots are useless. We can't test code on screenshots, we can't open screenshots to see what the actual formatting is. Atta...

2 days ago | 0

Answered
Find the earliest common date and indicator of two date vectors.
intersect will give you all the dates common to a and b. By default, it also sorts them, so the first of these will be the earli...

3 days ago | 1

| accepted

Answered
How can I fix the error in the given code? About 'inline'
As pointed out by Stephen, inline is deprecated, due to be removed soon from matlab. You'd be better off using an anonymous func...

3 days ago | 0

Answered
About Computing sequence.
matrices operations in matlab are very optimised, so it's likely that they are parallelised as much as possible. However, implem...

3 days ago | 0

| accepted

Answered
How to insert an unknown number of coloumn in a Matrix?
It's hard to tell you a generic way without understanding how the insertion points are chosen. In your first case, I would do: ...

3 days ago | 0

Answered
How to create sub images of a main image?
%inputs: %img: a full colour (3D), or greyscale image (2D) %blocksize: a 2-element vector giving the height and width of each ...

3 days ago | 0

Answered
Fourier Transform for xlsx files from excel
Read the content of the file with readmatrix (R2019a only), readtable, or xlsread and pass whatever it is you want from that to ...

3 days ago | 0

Answered
How to work with function inputs which are structures with different fields
By definition, the fields of each structure element of a structure array are all the same. The field names are a property of the...

3 days ago | 0

| accepted

Answered
Can you extract an element from an array in the same line as you create the array?
No, unfortunately in matlab, you cannot index directly into the return value of a function. You could use subsref as demonstra...

3 days ago | 1

| accepted

Answered
cell and matrix and for roof function
First, what is the point of: Ncell_1=11; Ncell_2=21; Ncell_3=31; Ncell_4=41; Ncell_5=51; Ncell_6=61; Ncell=[Ncell_1,Ncell_2,Nc...

4 days ago | 0

Answered
Loop through CSV (or XLS), compare values in rows and create new Cell Array based on results
As I commented, in my opinion what you're asking is not a good idea. Using cell arrays of cell arrays just make it more difficul...

4 days ago | 1

Answered
Probability in printing text
Use randi to choose an integer between 1 and the number of strings, use that to index into a cell array of char vector or a stri...

4 days ago | 1

Answered
While assigning a variable, is the variable cleared by default before the assignment?
Is output, internally cleared before executing the next loop? No. A variable is only cleared if you assign something else to ...

5 days ago | 1

| accepted

Answered
Multiplication of rows in a single column
prod(yourvector)

5 days ago | 0

Answered
Why do I get .txt extension eventhough it isn’t?
That reminds me that's something I wantedto discuss with Mathworks as it's indeed annoying. The reason has nothing to do with y...

5 days ago | 4

| accepted

Answered
How can I divide a week of a timetable into hours
hourlytimetable = retime(yourtimetable, 'hourly', 'mean')

5 days ago | 1

| accepted

Answered
Error on GUI code
I believe that the error in gui_maifcn is the problem of having the other two errors. Well, to be precise the error comes from ...

5 days ago | 0

Answered
Table manipulation of matrix
Your question is really badly explained but I think I've understood what you want. My understanding is that you have a J matri...

5 days ago | 0

| accepted

Answered
How can I convert gray image to binary image on ”specific” value of luminescence
It's simple comparisons and logical operations: lower than 0.4 to black, higher to white (what about 0.4?) result = yourgreyim...

5 days ago | 0

Answered
convert the datenum to date
d = 726329; datetime(d, 'ConvertFrom', 'datenum', 'Format', 'dd-MM-yy') %recommended, although I'd recomend using yyyy inste...

5 days ago | 1

Answered
How do I change values in an array based upon its previous value?
Assuming you've made a mistake in your second step (see comment), this is trivially achieved with imdilate (requires image proce...

5 days ago | 0

| accepted

Answered
how to create an object with "handle like" properties and "value like" assignment
That is simply not possible in matlab. "I want to make my api accessable to novice/average users and eliminate potential pitfal...

5 days ago | 0

Answered
Writetable() to csv in different cells
table=table2cell(table); writetable(table,filename); will produce an error and not create any file, since the misleadingly nam...

5 days ago | 0

Load more