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

circa 3 ore 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...

circa 3 ore ago | 0

Submitted


sqlite3
Matlab and Octave interface to the SQLite engine.

circa 16 ore ago | 9 downloads |

Thumbnail

Submitted


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

circa 16 ore ago | 1 download |

Thumbnail

Submitted


getUTC
get the current time in UTC

circa 16 ore ago | 2 downloads |

Submitted


JSON
Matlab/Octave JSON parser

circa 20 ore ago | 8 downloads |

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

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

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

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

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

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

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

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

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

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

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

6 giorni 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, ...

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

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

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

11 giorni ago | 0

Answered
How do I make 3D sphere for convolution?
If you want a sphere in a 3D array, you should probably do something like this: array_width=21;%must be odd radius=5;%must be ...

11 giorni ago | 0

| accepted

Answered
Saving multiple files in 'xlsx' format
Use sprintf to create a filename based on your variables. for one = 1:numel(p) for two= 1:numel(o) T = table(c{1,...

11 giorni ago | 0

| accepted

Answered
how to add numbers above the tips of a bar chart
b=[1 2 3]; labels=arrayfun(@num2str,b,'Uni',0); bar(b) text(1:numel(b),b+0.1,labels)

14 giorni ago | 0

| accepted

Answered
store strings and numbers into an array
I would suggest create a struct array: data=struct('Name',{'Peter','Fabian','Mary'}); [data.Age]=deal(28,21,32);%just to show ...

15 giorni ago | 0

| accepted

Answered
how to give range in xlsread using edit text field in app designer?
Assuming app.Columneditfield.Value is already a char, you can simply create the range like this: Range=[app.Columneditfield...

16 giorni ago | 1

| accepted

Answered
for loop index variable change inside the loop[
Once a for loop has started you can no longer change the expression it is based on. You will have to rewrite your for loop as...

16 giorni ago | 0

Submitted


ComputeNonCryptHash
Compute a non-cryptographic hash

17 giorni ago | 1 download |

Thumbnail

Answered
How to test montonousness of X Y data
I would sort x, use the second output of sort to change the order of the y elements. That reduces the problem to the question wh...

17 giorni ago | 0

| accepted

Answered
how do i automatically select the kernel size like 5*5, 7*7... instead of the 3*3 in the code below
This is a terrible way to write a median filter. Since the use of imnoise indicates that you already have the Image Processing t...

17 giorni ago | 0

Load more