Community Profile

photo

Guillaume


University of Brighton

6.915 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
How do I get every combo of a two vectors to put into an equation?
It's really not clear what your if statements are meant to do since you wrote some calculations that are not assigned to anythin...

circa un'ora ago | 0

Answered
How to convert 24-bit signed hex from .csv file to an array of decimal data?
I agree with Jan that sscanf is nicer and for that reason: dataTable = readtable('demo.csv'); dataDec = rowfun(@(s) sscanf(s, ...

circa 7 ore ago | 1

Answered
Select and remove/replace values in matrix
One way: nelems = 2; %number of elements to keep X = (cumsum(Y>0, 2, 'reverse') < nelems+1) .* Y

circa 8 ore ago | 2

| accepted

Answered
Importing csv file with scientific notation
Unfortunately, none of the high-level functions work with UTF16, so you have to go low-level. Even then, you'll get a warning th...

circa 8 ore ago | 0

| accepted

Answered
Writing to Excel sheet from Excel Add-In function
Note that there's no need to go through get, you can simply your code to: xl = actxGetRunningServer('Excel.Application'); xlsh...

circa 9 ore ago | 0

Answered
Create dataset from multiple Cell arrays
For lack of answers to my questions, here is a more efficient method than the accepted answer: allpatients = vertcat(Results{:}...

circa 9 ore ago | 1

Answered
Excluding Constants from Consecutive numbers
[~, rows] = unique(D(:, 2), 'stable'); newD = D(rows, :)

circa 12 ore ago | 0

| accepted

Answered
How to parse text data
Are you still on very old version (please fill the release field next to the question)?. If on a modern version, the file can ea...

circa 13 ore ago | 0

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

1 giorno ago | 1

| accepted

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

1 giorno 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...

1 giorno 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 ==...

2 giorni ago | 0

| accepted

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

2 giorni 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...

2 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni ago | 0

| accepted

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

3 giorni 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...

3 giorni 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...

4 giorni 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: ...

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

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

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

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

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

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

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

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

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

6 giorni ago | 2

| accepted

Load more