Community Profile

photo

Rik


Last seen: Today Active since 2017

E-mails with feedback/questions about FEX submissions are welcomed. In general I will post e-mails about Answers on the related page, unless there is good cause not to do so.

Statistics

All
  • Treasure Hunt Participant
  • MATLAB Central Treasure Hunt Finisher
  • 36 Month Streak
  • Ace
  • Draw Letters
  • Community Group Solver
  • 5-Star Galaxy Level 4
  • GitHub Submissions Level 3
  • Indexing I Master
  • Cody Challenge Master
  • Introduction to MATLAB Master
  • Speed Demon

View badges

Content Feed

Answered
loading xn data signals of data.txt
No loops required: xn=rand(1000,1);%replace this with the code reading your text file X=[xn-1;xn-2];

environ 11 heures ago | 0

| accepted

Answered
Using loops to perform vector functions
There is an mlint warning on line 7. If you hover your mouse over it, you will see a message that this input is not being used. ...

environ 21 heures ago | 0

| accepted

Answered
program is not working
You didn't explicitly set a value to R. If you had pre-allocated it, that would have prevented an R from a previous run to affec...

1 jour ago | 0

Answered
Taylor series for cos x
There are a few edits you should make to your function: % If you want a third input, just add it like this: % (don't forget to...

1 jour ago | 0

Answered
please is there any inbuilt function for harmonic function?
There actually is a builtin that will give you the answer: inf As for implementing the function yourself, that is probably hom...

1 jour ago | 0

Answered
Run MATLAB twice at the same time
You mean you want to have two separate instances of Matlab running? That is possible. Running the same function is also not a pr...

2 jours ago | 0

| accepted

Answered
Specifying several authors for a contribution
Please post this as a request here. There is Mathworks staff monitoring that thread, so that is the best way to make your voice ...

3 jours ago | 0

Answered
Anybody knows how to do to this script goes faster?
Using ismember will already speed up your loop by a lot. The point is that you are analysing a lot of data, so it just will take...

3 jours ago | 1

| accepted

Answered
Pourquoi demander 2 fonctions
There isn't any fundamental (Matlab-related) reason. Maybe your teacher wants you to realize that you can implement eqi2tfx b...

3 jours ago | 0

Answered
issue with 'intersect' function
Decimals are difficult for computers, since they work in binary, not base 10. Say I ask you to divide 1 by 3. You answer 0.33...

4 jours ago | 0

Answered
Hi, may i know how to create a loop in this code for image subtraction? X is the reference image and variable in Y , I have 10 images in the folder
Use a for loop. You can use the sprintf function to generate the file name based on the iteration number, and you can use sub...

4 jours ago | 0

Submitted


sqlite3
Matlab and Octave interface to the SQLite engine.

4 jours ago | 11 downloads |

Thumbnail

Submitted


Wayback Machine API
This functions acts as an API for the Wayback Machine (web.archive.org).

4 jours ago | 1 download |

Thumbnail

Submitted


getUTC
get the current time in UTC

4 jours ago | 3 downloads |

Submitted


JSON
Matlab/Octave JSON parser

5 jours ago | 9 downloads |

Answered
The graph wont be appear
Do what the error message tells you to do: y= t.^2 .* cos(t);

5 jours ago | 1

Answered
Change array elements that meet a condition - Multidimensional array case
I can think of two ways: # using a loop # replicating B in the third dimension to match the size of A I suspect the first...

5 jours ago | 0

Answered
How I can convert from binary to character?
Your binary data seems to require some modification before it contains what you expect. data=[0 0 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0...

6 jours ago | 0

| accepted

Answered
Correct Magic Square to text file?
Your file is written row by row, while Matlab will read the data in B column by column. So while most people would not expect t...

6 jours ago | 0

Answered
Is Live editor included in the Matlab licence or a separate program?
Live scripts (along with the live editor) were introduced in R2016a. They are a part of base Matlab (so it doesn't require any t...

7 jours ago | 0

Answered
Finding the indices of the elements of one array in another
You muct have thought of this already (as it is one of your tags), but ismember does what you need: A = ["G1", "V2", "G3", "G4"...

7 jours ago | 0

| accepted

Answered
MATLAB GUI - how to make a button change a value then close window
If you add uiwait before the nested function, this will pause execution of the main function. This will give the user time to cl...

7 jours ago | 0

Answered
QSS toolbox 2018 version
If you have a relatively recent release of Matlab, you can use the AddOn Manager to get it, but you can download it from the fil...

7 jours ago | 0

Answered
get uiTable data when using it in a function
For general advice and examples for how to create a GUI, have look at this thread. If you want to stick with this setup you wil...

8 jours ago | 0

| accepted

Answered
Reading text file data with different data formats
I would suggest reading the text file as text, extract the header, and then parse the data with tools like textscan. (You can g...

8 jours ago | 1

| accepted

Answered
How do i resolve this error
You can resolve this error by making sure the dimensions agree. If you think this answer is unhelpful; it is. If you want a mor...

10 jours ago | 0

Answered
CELL2MAT does not support cell arrays containing cell arrays or objects.
I would suggest using this instead of the entire if statement: ax=[varargin{:}]; This will happily accept empty inputs, ...

11 jours ago | 0

Answered
Create a function handle sum of other function
Your anonymous function will become more opaque and I expect the performance to suffer, but this will work: fun=@(x) A; ...

13 jours ago | 0

| accepted

Answered
How to select files based on the name?
First you need to retrieve all file names with dir. Then you can split the file name on the dots with the split function. After ...

15 jours ago | 0

Answered
How do I install Guide to AppDesigner Migration Tool without the internet?
Since in principle you should only need this migration tool once per project, wouldn't it be feasible to migritate on the online...

15 jours ago | 0

Load more