Community Profile

photo

Guillaume


University of Brighton

6,494 2012 年以降の合計貢献数

Guillaume's バッジ

  • 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

すべて表示

貢献した分野
表示方法

回答済み
Hi, I am modeling blood flow, and first I need to create structural rectangular mesh of points, so in the next step I could find the value of pressure, velocity etc. in every each point. Do you please know, how to create this mesh? Thank you
Your description is not clear, and there's no point giving us code that doesn't work. It sounds like you're looking for meshgri...

約6時間 前 | 0

| 採用済み

回答済み
Need help with deleting rows in my table
Why are you reading the data as arrays, converting to table, then converting back to array. Choose one type and stick to it rath...

約23時間 前 | 1

| 採用済み

回答済み
create a function that takes a vector as an input parameter and returns another vector where each component is the initial vector repeated n times.
"Output argument "B" (and maybe others) not assigned during call to "cyclic_shift_recursion" Well, yes matlab is correct. Your ...

2日 前 | 1

| 採用済み

回答済み
Just how random are random numbers in MATLAB?
"Every single time so far there has been a number 19,950+ within 10 generations or sometimes far less." You will have to expla...

2日 前 | 1

回答済み
Add cell value from a matrix row based on corresponding index to another matrix row
If you want to keep using numeric matrices: [~, whereinA] = ismember(B(:, [2 4 6]), A(:, 1)) C = reshape([reshape(B.', 2, []);...

2日 前 | 1

| 採用済み

回答済み
How to convert a char into datetime variable?
datetime('11:04:55') Note that it will use the current date for the date part (since a datetime is always date + time as the na...

2日 前 | 1

| 採用済み

回答済み
How to initialize object array with different parameters?
With the current interface, this is probably the best you can do: dim = [3,2]; param = 1:6; param = num2cell(param); %each...

2日 前 | 1

| 採用済み

回答済み
What is the type of function Handle and How is it stored in memory?
Firstly, you seem to be using the term file handle for what everybody else call function handles. File handles are completely di...

2日 前 | 1

回答済み
How to concentrate 5000 matrices of different row length (same column length) into one matrix by unfolding each of the matrices to the smallest row length
Where are the 5000 matrices in your code? As far as I can tell you've only got 6 matrices stored in the matrix field of the stru...

3日 前 | 1

| 採用済み

回答済み
Detection of red color RGB
%extracting the Red color from grayscale image diff_im=imsubtract(data(:,:,1),rgb2gray(data)); That comment is very misleading...

3日 前 | 0

回答済み
Finding index values for consecutive values in cell array
Right, so your data is a 105x1 vector cell array of 3x3x2000 matrices. First, a function to get the average length of the sequ...

3日 前 | 0

| 採用済み

回答済み
Write video in wide screen format
Matlab assumes and always display the video with a pixel aspect ratio of 1:1. My guess is that your original video specify a di...

3日 前 | 0

| 採用済み

回答済み
Can I load .NET Core 2.2 DLL to Matlab on Linux?
While in theory you can use .Net core on linux (with mono), Matlab is very specific that its .Net interface only works on Window...

3日 前 | 0

回答済み
Error: Not enough input arguments
They can't be inputs of phi because I need to zero the function phi with fsolve. Yes, they can: function F=phi(P, Tc, Pc, T, o...

4日 前 | 0

| 採用済み

回答済み
How do I fill lines between 2 values with interpolation
Probably, the easiest: startvalue = 1; endvalue = 10; numberofpoints = 19; %includes start and end point x = linspace(startv...

4日 前 | 0

| 採用済み

回答済み
Do I need pre-allocation ?
Robin, in the 2nd case, yes you were attempting to preallocate the array. However, the array you preallocated is not the same ar...

4日 前 | 2

| 採用済み

回答済み
How can I rearrange the order of N matrix in Matlab?
Read Stephen's comment and follow the links to understand why your original design is very flawed. You want only one variable c...

4日 前 | 0

回答済み
Displaying empty array as output
Hopefully, your real code doesn't use the same indentation as what you've posted above. If it does, I suggest that you let matla...

4日 前 | 0

回答済み
Choice of Database for smooth data import into Matlab
While excel can be used as a data source, I would hardly call it a database. Particularly, if you compare it to SQL databases. T...

4日 前 | 0

| 採用済み

回答済み
splitting data in a table when ever the cell is empty
Matrices can never have empty rows. What you call empty rows are rows with 0s in both columns. If I understood correctly what ...

5日 前 | 0

| 採用済み

回答済み
How to align multiple matrices based on the first column values?
The simplest way is convert your matrices to a table, which may make sense anyway considering that it looks like the columns of ...

5日 前 | 0

| 採用済み

回答済み
Index in position 2 exceeds array bounds (must not exceed 101)
My guess is that you want all the times, in which case: newsst = sst(newlat, newlon, :); Using time as an index into newsst ma...

5日 前 | 0

回答済み
Find the closest value in each group in a matrix column
Within splitapply, when min is invoked, it's invoked on a single group. Therefore, the index it returns refers to the index of t...

5日 前 | 0

| 採用済み

回答済み
Tab completion of struct within cell
The reason why tab completion doesn't work for the content of a cell array can easily be explained: matlab does not look into th...

5日 前 | 1

| 採用済み

回答済み
Bypass uigetdir in function
The proper way to go about this is to separate the processing code into a function, completely independent of user input/output....

5日 前 | 1

| 採用済み

回答済み
"matlab drive" remove space in filename
When you install the connector, you can choose the path of the folder, at least on Windows. I would assume the same is true for ...

5日 前 | 1

回答済み
Select groups of data with a specific size
Simply build the histogram of your groups (with histcounts or accumarray) and select the groups you want to keep with ismember: ...

5日 前 | 0

| 採用済み

回答済み
Given an instance of a class (without knowing class name), how to call the constructor?
As Sean said, you may want to inherit from matlab.mixin.Copyable instead of implementing your own cloning interface. However, t...

5日 前 | 1

回答済み
Polyfit function - NaN
polyfit cannot cope with missing data.So, if you want to use polyfit you have but no choice to remove that missing data. If the...

5日 前 | 0

回答済み
Importing data from a file in a specific way
The numbers in your text file have less precision than matlab uses. So, the simplest thing is to load them with csvread (or dlmr...

6日 前 | 0

Load more