Community Profile

photo

Rik


Last seen: Today Attivo dal 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
  • Cody 10th Anniversary 10-Day Streak
  • Promoter
  • 5-Star Galaxy Level 5
  • GitHub Submissions Level 3
  • Draw Letters
  • Community Group Solver
  • Indexing I Master
  • Cody Challenge Master

Visualizza badge

Content Feed

Risposto
2 Different GUI needs the same inputs
There is no general solution to do this, because the two instances of Matlab are separate. If Matlab were able to do this, it c...

33 minuti fa | 0

Risposto
How to sum of the values of z corresponding to the ranges of x and y?
If your ranges grow more complex, you should try to define groups so you can use splitapply. But for this simple example you can...

circa 11 ore fa | 0

Risposto
Subtract all values from one structure from another structure
The only way I can think of is looping through the fields: %% create the structure data.x=(0:5); data.y=(0:3:33); data1.x=(0...

3 giorni fa | 0

| accettato

Risposto
Handle to a Property or field
The only way I can think of is to make that property contain an object of a handle class. Other than that, no, because you can o...

6 giorni fa | 0

| accettato

Risposto
Error in import data
You didn't form the file names properly, so you were trying to read files that don't exist. You're also overwriting the results....

6 giorni fa | 1

| accettato

Risposto
How can I plot graph using external function?
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). In...

7 giorni fa | 0

| accettato

Risposto
App Designer advanced or comprehensive tutorial for audio input, processing, display and control
A GUI is not something special. It is only a tool to gather user inputs before calling your function and display the output of t...

7 giorni fa | 0

Risposto
I got a strange answer when I use Matlab to calculate the quotient of two decimal places
Welcome to the world of floats and finite precision. The reason is that some numbers can't be represented exactly by the doub...

7 giorni fa | 1

| accettato

Risposto
dot indexing in a function handle
You will have to write a wrapper that can select an output for you. There is no built-in functionality to do so. Some like this...

10 giorni fa | 0

| accettato

Risposto
Matlab will not start after installing update 5 for Matlab 2022b
I have sometimes had this when my anti-virus decided Matlab was a virus. You could check the quarantine (or whatever your AV cal...

11 giorni fa | 0

Risposto
Warning: X does not support locale en_US.UTF-8
Isn't X the window management system? That would suggest this is not necessarily related to Matlab itself. This thread is for U...

11 giorni fa | 0

Risposto
How do I receive modelling help/support for my Master Thesis Project?
I think the guidelines for posting homework (which you can find here) would also apply in this situation. You will have to thin...

11 giorni fa | 0

| accettato

Risposto
How to take multiple input using Edit Field (Text), MATLAB app designer?
Your function lacks any form of documentation, so a user must just guess what the required input format is. In the case of well_...

12 giorni fa | 0

| accettato

Risposto
Which requirements should be met when creating and using a function?
For my minify function I needed to construct a full list of all legal syntaxes, so I just tried them all. function[a,b]=f1(c,d)...

13 giorni fa | 0

| accettato

Inviato


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

16 giorni fa | 2 download |

Thumbnail

Risposto
how to load files which are listed in a cell array
The filenames variable is a cell array, so you need {} to index the contents: M=xlsread(filenames{3}); But it is better to use...

17 giorni fa | 0

| accettato

Risposto
readtable error in Matlab
The option you are trying to use only works for spreadsheet files. A csv file is just a text file and does not actually describe...

19 giorni fa | 0

| accettato

Risposto
How can I quickly find the difference in function usage between different MATLAB versions? For example, the Name-Value Arguments "QuoteStrings" of the function writetable
A few releases ago Mathworks introduced a changes section at the bottom of the documentation page. Other than that, it is simply...

20 giorni fa | 0

| accettato

Risposto
How to write a variable in a Vector with a loop
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). See...

21 giorni fa | 0

| accettato

Risposto
How to pass filepath to MATLAB executable
You're using Matlab syntax to define a char vector, but that is something that will happen automatically. You can experiment wi...

21 giorni fa | 2

| accettato

Risposto
input parser on a cell array
You can implement a custom validationFcn to check your requirements, as you can read in the documentation. A = {'1234','4567','...

21 giorni fa | 0

| accettato

Risposto
Why does unicode2native returns different values on different Matlab versions?
I couldn't find this in the release notes, but apparently the default encoding changed between these versions (the documentation...

24 giorni fa | 1

| accettato

Risposto
can we share our original code here,?
The main point of plagiarism is not that text cannot exist anywhere else, but that you are clear about authorship. Some style gu...

24 giorni fa | 2

Risposto
How to point to actual file for LISTDLG selection?
You selected a file name. Now you need to use the load function to read the variables. S=load(fn{indx});

25 giorni fa | 0

| accettato

Risposto
Is it possible to make an app after you have written a large program?
In my personal opinion, a GUI should only be an interface to your function (that is after what the I stands for). That means it ...

27 giorni fa | 0

Risposto
Solve Eror Saveas nome
Perhaps you meant saveas(gcf,[num2str(zz) '.png']) instead, since you never define kk in your code.

28 giorni fa | 1

Risposto
How to make the modfunc function work ?
A function should exist in an m file. If you want to put it in a script file, it needs to have a closing end keyword, and no oth...

29 giorni fa | 0

Risposto
Calculate the sum of two RMS values and theoretical RMS.
With vectors of the same size you shouldn't notice a difference, but you are calculating a root sum square, not a root mean squa...

circa un mese fa | 0

| accettato

Inviato


RegGrow
Region growing algorithm (supports 2D, 3D, and ND)

circa un mese fa | 7 download |

Thumbnail

Risposto
Why is sum(f,1) slower than sum(g,2) for g=f'?
I expect this has to do with how a matrix is stored in memory. If I recall correctly, this is column major, so summing along row...

circa un mese fa | 2

| accettato

Carica altro