
Rik
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
RANK
24
of 260.098
REPUTATION
8.300
CONTRIBUTIONS
12 Questions
2.859 Answers
ANSWER ACCEPTANCE
33.33%
VOTES RECEIVED
1.167
RANK
2.003 of 17.886
REPUTATION
836
AVERAGE RATING
4.80
CONTRIBUTIONS
28 Files
DOWNLOADS
147
ALL TIME DOWNLOADS
5602
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Matlab window/frame in different colors?
This touches on the call for a proper dark mode that is getting stronger and stronger. To my knowledge there are no such tool...
3 Tage ago | 0
error in LINE 1 " function varargout = Final_gui(varargin) " ,while converting the code to C ,how do i fix it
Unfortunately you can't convert a GUI to C with coder. There are just too many elements that aren't supported. You can packag...
4 Tage ago | 0
I have a matrix 592*2 from this I got a curve, now I need to calculate full width half maximum , how to do it?
# Find the maximum value and its x-value # use find() to find the first time the y is above 0.5*max # use find() on the secon...
5 Tage ago | 0
update one plot in appdesigner
This code should work, once you fix the creation of the vector: 20:-1:1.
7 Tage ago | 0
| accepted
How to convert R code in Matlab
Unfortunately, no. It is not possible to convert R code automagically to Matlab code. What you can do is call the R code from M...
10 Tage ago | 0
Methods to create arrays of NaN
In very old releases (prior to v7 (R14)) it was not possible to create arrays with NaN and inf. In those releases you had to use...
12 Tage ago | 0
Assign two variables to a SQL Query
I suspect you're missing a space before 'WHERE'. I can recommend using sprintf to avoid such errors.
14 Tage ago | 0
| accepted
Create a function for set name, user, password for sql database
Why don't you use a variable that contains the password? Or a function that returns the password as a char array? That way you o...
14 Tage ago | 1
| accepted
How to save fprint as a string in .mat file
If you want to store the text output you should use sprintf to create the formated text. Then you can use fprintf to print to th...
14 Tage ago | 0
Install MatLab on a computer with a 64-bit operating system, ARM-based processor
If your hardware happens to a Raspberry Pi: I know there are things you can do with Simulink to deploy code to a Pi. I have neve...
17 Tage ago | 0
Deleting Rows in Text File and Assigning them to a New Text
Read the text file with readlines (or my readfile function). Then you can use contains to determine which line contains the tex...
19 Tage ago | 0
| accepted
Concatenate/ Merge two HEX Cell Array
You need to use vertcat instead, or use the semicolon. a={'01';'02';'03'} b={'04';'05'} c=[a;b] vertcat(a,b)
24 Tage ago | 0
| accepted
Can we use multiple version of Matlab in same system. Ex: 2020b and 2022a together in one system
If you mean your operating system with the term system; absolutely. I currently have several releases of Matlab installed. It i...
24 Tage ago | 1
| accepted
Forward optional args to another function
This is a terrible cludge. There must be a better way. If you don't find it, feel free to use this. It uses the fact that the x=...
24 Tage ago | 0
Save for loop outputs into structure
You should probably use a struct array: allBIN(n).corr= ___ %etc But if you insist: field names must be valid variable names,...
27 Tage ago | 0
| accepted
Converting string to function/number
The way to avoid eval in this case is to use str2func: f=str2func('cos'); f(pi)
etwa ein Monat ago | 1
How to concatenate 5x2 array output from my function?
This should already get you most of the way there: i = 0.5; for n = 1:100 Currents{n} = Dunn(mvs10, mvs30, mvs60, mvs100,...
etwa ein Monat ago | 0
| accepted
Is there any plugin that allows automatic tracking of history of all workspace variables?
Below is my initial implementation of what you need. There are a lot of adaptations still to be made. It implements both a vecto...
etwa ein Monat ago | 0
| accepted
is it possible to convert a python code to a matlab code ?, and if it is how?
The answer depends on the exact code. There is no automated conversion system that will work for all code (limited ones may exis...
etwa ein Monat ago | 0
Image usage from guide
There is a copyright notice at the bottom of the page. So unless otherwise stated elsewhere, you're not allowed to use this exac...
etwa ein Monat ago | 1
| accepted
is Dell 5580 core i5 2.80GHz 16GB 512GB SSD Intel HD Graphics 620 can run matlab 2021?
It seems to satisfy the minimum requirements mentioned on the <https://www.mathworks.com/support/requirements/matlab-system-requ...
etwa ein Monat ago | 0
Error using plot Invalid subscript for Y.
Let's generate some data and try my suggestion of casting to double: %generate data FO2_Odometer=rand(10,1);Caliper1=rand(10,1...
etwa 2 Monate ago | 0
| accepted
Need ideas on how to extract a 30s portion of a wav file and save as a new file
Have you already found a way to read a single wav file? If not, audioread should do what you want. Remember that the second o...
etwa 2 Monate ago | 0
Display mutiple lines in Text area in Matlab App designer
You are replacing the text every iteration. What you need to do is concatenate them. Start with an empty line before the loop, ...
etwa 2 Monate ago | 0
Convert existing MATLAB script into GUI using app designer
The first step is to convert your code to a function. Then you can design your GUI to gather the necessary inputs for that funct...
etwa 2 Monate ago | 0
convert current date and time to char
datestr(now-6/24,31) datestr(now_UTC-6/24,31) If you want to force the use of UTC+0 as the timezone (as your Z seems to sugges...
etwa 2 Monate ago | 1
| accepted
How to Store emojis when used as an input to text field in App Designer.
Encoding is very important here. CSV files are simply plain text files. That means you need to make sure the encoding allows uni...
etwa 2 Monate ago | 0
| accepted
Computing Euclidean distance between 2 points
By doing a matrix multiplication on a vector, you implicitly take the sum over all elements. Note that this will only work if b...
etwa 2 Monate ago | 1
| accepted
Multiplying each cell in an array by a column vector
You should use a loop. That makes it a lot easier to write the indexing you need, and it will be faster. Matrix operations are ...
etwa 2 Monate ago | 0
| accepted
how to count the number of lines of an external txt file
The problem with your question is that it lacks a definition of line. If your file ends with char(10) or char(13) does that sign...
etwa 2 Monate ago | 0