Community Profile

photo

Guillaume


University of Brighton

6,907 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
Why fwrite is ~320x slower in the second interation and onwards when writing interleaved data?
I would suspect the reason for the much slower writes in iteration 2 and onward is that for the first iteration, since the file ...

9 hours ago | 1

Answered
Organising data from a matrix
selectedvalue = 4; filteredmatrix = yourmatrix(yourmatrix(:, 1) == selectedvalue, :)

10 hours ago | 0

| accepted

Answered
how can I read a file with the format '.cine'?
If you are talking about the video format produced by VisionResearch Phantom cameras, then they can provide you with some matlab...

11 hours ago | 0

Answered
Isolating and running a piece of code separately from the rest
A complete guess, if you want to split A into groups that start when B is 0 and apply unwrap to each group: group = cumsum(B ==...

1 day ago | 0

| accepted

Answered
How can I make a vector divide 1 by increasing numbers?
v = 1 ./ (1:10)

1 day ago | 1

| accepted

Answered
convert numbers that contain the scientific notation e to the long format then round it to the fourth decimal?
I assume that what you mean is that you'd like matlab to display numbers as -0.0003 instead of 3e-4. If so, format shortg will...

1 day ago | 0

Answered
How to find array elements that meet a condition defined by an index vector?
It's not clear to me why L is a matrix of integers when the only value you care about is 5. Shouldn't it be a binary matrix? We...

1 day ago | 0

| accepted

Answered
Cannot read data from a table to create a graph
The problem is that your timestamp column is text and matlab does not know how to use text as a plot variable. I assume that th...

1 day ago | 0

| accepted

Answered
how to preallocate a variables
Again, with the code you show, there's nothing that can be preallocated. But your loops are also not very useful since the overw...

1 day ago | 0

Answered
Matlab doesnt recognize file in path while using readObj
sarl = readobj(something) Pass the content of the variable called something to the function readobj. If readobj expects a filen...

2 days ago | 1

Answered
64 bit binary number representation in matlab without rounding off
If matlab shows the number is 1.01010101010101e+41 then you do not have a binary number. You have a decimal integer number consi...

2 days ago | 2

Answered
JSON decode / encode eats arrays
Not sure why Walter revived this old question but now that I've seen it: For the record, while inconvenient in the above scenari...

3 days ago | 0

Answered
Extracting Data from Cells
If you want to create a scatter3 plot using the coordinates from all the cells of Cross_sections, this is how I'd go about it: ...

3 days ago | 0

Answered
problem with "cd" and network drive
cd filepath is the command form of cd. The fact that filepath is purple is a hint that filepath is being treated as literal tex...

3 days ago | 1

| accepted

Answered
Time series plot from structure array
but for the original data set tickers will have different number of dates so it will not be possible to put them in a table (I t...

3 days ago | 0

| accepted

Answered
Using for loops in referencing
You don't even need a loop to perform your calculation: n = permute(0:5:40, [1, 3, 2]); %create a vector 0:5:40 in the 3rd dime...

3 days ago | 1

| accepted

Answered
ActiveX compatibility problems in Matlab GUIDE application
Since you want to use your activex program in GUIDE, I assume it is an activeX control. If so, it is impossible to use a 32-bit ...

4 days ago | 0

| accepted

Answered
Naming sheets with xlswrite
Have you looked at the documentation of xlswrite? xlswrite(filename,A,sheet) writes to the specified worksheet.

4 days ago | 0

| accepted

Answered
What licence do I need to sell MATLAB/Simulink Online Course?
I would persevere with Sales. It's odd that they're not answering you. We don't work for Mathworks so whatever we tell you has n...

4 days ago | 0

| accepted

Answered
Empty Figures because of empty variables
Right, since we're not getting the required explanation of what you're trying to do, here is how to calculate monthly latitude a...

4 days ago | 0

Answered
Community profile not updating
Yes, I've reported it to the devs half an hour ago. No reply so far, but it's still early at Mathworks.

4 days ago | 1

| accepted

Answered
Save Excel cell range as image with activeX
With activex, you can do anything you can do with excel directly (as long as excel exposes it programmatically). So if you know ...

5 days ago | 2

| accepted

Answered
How to update variable names after a "clear"
Unfortunately, this is a limitation of matlab's editor. Note that clear x is exactly the same as clear('x') The former is t...

5 days ago | 0

| accepted

Answered
how I can delete 1.0e+03 in my answer
format shortg %or format longg should fix your display issue.

6 days ago | 1

Answered
In memory calculations with tall arrays from different databases
If you have R2019a, you can combine your two datastores. ds_1 = tabularTextDatastore('file_1.txt'); ds_2 = tabularTextDatastor...

6 days ago | 1

Answered
Removing data from a structure that is less than a certain threshold
This code seems to run very slowly The code you've posted either doesn' do anything because the if condition is never true, or ...

6 days ago | 1

Answered
What will be the output of of CD(1:8:8*16)=ciphertext
It simply replaces elements 1,9,17, 25, ..., 121 of CD by the elements of ciphertext. Since that's 16 elements of CD that are re...

7 days ago | 1

| accepted

Answered
How to run macro in a different workbook
If the macro is supposed to act on the first workbook, the only way your excel procedure can work is if the macro rely on the Ac...

7 days ago | 2

| accepted

Answered
Sort Through Cell And Put Corresponding Values In Their Respective Rows
This is how I'd do it: data = readtable('ML_Q_1.xlsx', 'ReadVariableNames', false); %optionally, give better name to the varia...

7 days ago | 1

| accepted

Answered
How to split a table based on date and hour
The easiest way is to use retime (requires a timetable) or groupsummary grouping by day, Of course, for matlab a day starts at 0...

7 days ago | 2

| accepted

Load more