Community Profile

photo

Guillaume


Last seen: Today

University of Brighton

7 633 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
Produce equality matrix based on elements in vector.
Trivially done. %assuming A and B are both row vectors: C = A.' == B; If they're both column vectors, transpose B instead.

3 jours ago | 0

| accepted

Answered
Getting a command like gather to run silently
The following is unfortunately completely undocumented and therefore to be used at your own risk. It may stop working in a futur...

3 jours ago | 1

| accepted

Answered
I want to get rid of the e+03 in the numbers presented in my table
In the view tab, under Number Display Format select "Long Fixed Decimal" (2nd option) or "Long Fixed Decimal or Scientific Notat...

3 jours ago | 2

Answered
Index exceeds the number of array elements (2).
Always preallocate vectors instead of growing them in a loop, so before the loop: M = zeros(1, total_t); While this will get r...

3 jours ago | 0

| accepted

Answered
strtok is only using the first character of my delimiter instead of the full character vector
"How do I make it so that only HAIR is the delimiter and not H, A, I, or R?" You can't do that with strtok. The simplest is to ...

3 jours ago | 0

| accepted

Answered
Decompose image into the sum of two images
I don't see how your code even attempt to answer your assignment. Which of the image processing function would you use to detec...

3 jours ago | 0

Answered
All input arguments must be tables error
"NT1,T1,NT2,T2 are all 7*1 matrix" Clearly not! At least one of them is a table. If you concatenate something with a table, as ...

3 jours ago | 0

Answered
How to find the maximum element among the minimum elements in the columns in matrix m:n? With using loops.
There's never any need for a loop for things like that. Loops usually complicate the code in matlab. maxofcolmin = max(min(mass...

5 jours ago | 0

Answered
Function overwrites output with a different number
"How would I create and store that question tree/its outputs" There are many options, which one you'd choose would be up to you...

5 jours ago | 0

Answered
Error using table.init (line 401) The VariableNames property must contain one name for each variable in the table.
"Any idea how to resolve it.?" Well, yes provide as many variable names as there are columns in the arrays Accuracy_NN and Accu...

6 jours ago | 0

Answered
Using convn with pictures and kernel.
It would be pointless to convert your 3D arrays into cell arrays of 2D arrays. You would just be storing the same information bu...

7 jours ago | 0

| accepted

Answered
How can I use activeX to access Microsoft Excel equation editor from matlab
" I want the user of d app to be able to type mathematical expressions in textbook format" I don't believe you're going to achi...

8 jours ago | 0

| accepted

Answered
it does not count this as right
First, don't post screenshots of the code. Simply copy/paste the code as text directly in your code (and then click the button)...

8 jours ago | 1

Answered
Readtable error help?
I suspect to your 'FY20' is meant to be the sheet name. Unlike xlsread, with readtable the sheet name is passed as a Name-Parame...

8 jours ago | 0

| accepted

Answered
HELP PLEASE! How to insert arrays 1x24 in columns of a database sql?
Your columns input is completely wrong. It's a cell array with just one cell, a very long char vector. You then wrap that into a...

10 jours ago | 1

Answered
trial version of matlab2013b
For this kind a question, contact Mathworks sales directly. Only they can answer you properly.

10 jours ago | 0

| accepted

Answered
Error using varfun function. "Matrix dimensions must agree."
Several points: "As I understand, I am multiplying 52824x9*9x1" No, you're using .*, the memberwise multiplication, not * the m...

10 jours ago | 0

| accepted

Answered
actxserver copy and paste iteratively
I'm afraid it's been a while so i don't remember the whole discussion. It sounds like you want to merge two tables which have s...

11 jours ago | 0

Answered
Compare two matrices and select max one based on the a column
If I understood correctly: C = A; replacebyB = B(:, end) > A(:, end); C(replacebyB, :) = B(replacebyB, :); The above gives p...

12 jours ago | 0

| accepted

Answered
Code To Extract Data From .txt File to Excel
As we don't yet know how to identify the files to be processed, nor how exactly the data is to be exported to excel, the below j...

12 jours ago | 0

| accepted

Answered
From excel link to time table
First note that urlread has been deprecated for a while. Its replacement is webread which is more powerful. webread would have ...

13 jours ago | 0

| accepted

Answered
Editing a Tall table and writing it into a csv file
"It is actually the exact same size" If I recall correctly, you do indeed get some misleading error messages when you try to co...

13 jours ago | 0

Answered
remove rows in matrix if it is repeated 2 times
The whole thing is unnecessarily complicated. A = {[1,6,3,2],[3,6,5]}; A1 = unique([A{:}]); B = [1 2; 1 6; 2 3; 3 5; 3 6; 5 6...

13 jours ago | 0

| accepted

Answered
Finding multiple mean values of matric
If the height of your matrix is a multiple of 50 elements: Simply reshape the column in rows of 50 elements and take the mean ac...

13 jours ago | 0

Answered
Repeating for loop until getting a list of solution
If it's a flow chart you've been given, then you are entitled to complain loudly. That flow chart is very misleading. The layout...

13 jours ago | 0

Answered
Warning about array when use loadlibrary function
Note that you get a warning, not an error. However, the warning is correct in that it's not possible to fill that structure in m...

13 jours ago | 0

Answered
How to find an exact string match in a list of folder names
It's simple to solve: rather than testing first for 'X' then 'Y' then 'XY', test first for 'XY' then 'X' or 'Y' then the other. ...

14 jours ago | 0

| accepted

Answered
Index in position 2 exceeds array bounds
The error message is clear, you're using an index greater than the size of the 2nd dimension of an array. The only indexed array...

14 jours ago | 0

Answered
Calllib function error using with struct array
It's a slightly different procedure for passing structures between matlab and a C library. Internally, matlab structures are ver...

14 jours ago | 0

Load more