Community Profile

photo

YT


106 total contributions since 2017

Contact

YT's Badges

  • 6 Month Streak
  • Revival Level 1
  • Knowledgeable Level 3
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


Stop audio from playing using sound()
Matlab Online (ver R2018b) I'm playing some audio using sound(y,Fs) but I can't find a way to stop the audio from playing. You ...

5 months ago | 2 answers | 0

2

answers

Answered
Is the following code is sufficient for feature detection, extraction of multiple images and storing them into single cell for classification?
Look closely what you're exactly trying to plot Valid_points{i} = valid_points; figure; imshow(I1); plot(valid_po...

5 months ago | 0

| accepted

Answered
dates between two limits
I came up with 2 options: OPTION 1 clear; start_date = '20190131'; end_date = '20191205'; myFormat = 'yyyyMMdd'; DateSt...

5 months ago | 1

Answered
Importing multiple .txt files into one table
This should do the trick. I've added several comments in the hope that it makes it easier for you to understand how it works. Of...

5 months ago | 1

| accepted

Answered
I would like to make sure that the commands tf, step, impulse, Bode and lsim are all included in the Control System Toolbox
You can check all the functions for the Control System Toolbox here Next time if you want to make sure a function exist in a ce...

5 months ago | 0

| accepted

Answered
How to change uigetfolder on uigetdir?
Wow I looked up this function on FEX and its last update was in the year 2000 (so its pretty much ancient). Like you said yourse...

5 months ago | 0

| accepted

Answered
How can I insert time from an xlsx file into Matlab and make a plot?
Even though I still haven't figured out your plotting issue, the importing can be solved like so % first time; opts = detectIm...

5 months ago | 0

Answered
How to convert captured frames from webcam into avi format with 20fps.
Well you stated that you've tried a lot of things, but you didn't provide any code with it so that's not really helpfull. I sugg...

5 months ago | 0

| accepted

Answered
How to use If elseif else in array ?
So everytime I have to do somethings similar, I either do it by using a for-loop and if/else statement and comparing every field...

5 months ago | 1

| accepted

Question


Imwrite JPG with comments
I'm trying to save my images with some comments like so imwrite(imageData, '/MATLAB Drive/ArtScraper/out_img/Ukiyo-e_1549412662...

5 months ago | 1 answer | 1

1

answer

Answered
Creating a blank figures
You should put the hold on; before the plot(Lam, Transmittance). I suggest also to put hold off; after the end of your for-loop....

6 months ago | 0

Answered
how to compress any video by using H.264 compression standard ....
You can use VideoWriter with MPEG-4 profile for this v = VideoWriter('my-video.mp4','MPEG-4'); %uses h264 encoding v.Quality =...

6 months ago | 0

Answered
what is the MATLAB version or can I use the imageDataAugmenter function ?
According to the documentation, imageDataAugmenter was introduced in R2017b. You can check what version of Matlab and which tool...

6 months ago | 0

| accepted

Answered
what happens to Matlab when I lose connection to my network drive data all of a sudden?
Well that sounds indeed frustrating. Luckily you can pause on error/warnings (check it here). I think thats a screenshot for an ...

6 months ago | 0

| accepted

Answered
How to find the closest value to a constant in a 2D matrix
Probably something like this A = rand([15 129])*100; %matrix with random values [~,I] = min(abs(A - 15),[],1); %get indices fo...

6 months ago | 1

| accepted

Answered
Fill the region between two lines
Here you go

6 months ago | 0

Answered
Can I Split the char with out deliminater ? (Please have a look at example)
I don't want to critize too much, but it just seems you're asking so many question on the same dataset that its almost like the ...

6 months ago | 0

Answered
Import Excel-Sheet and plot time - error!
This will do the job clear; opts = detectImportOptions('2018-12-07--15-55-46 - alt_1.csv','Delimiter',';'); opts = setvartype...

6 months ago | 0

Answered
convert character date string to date vector
You can use datetime to do it myString = '2014-07-03T04:00:00.000000Z'; myDateString = datetime(myString,'InputFormat','yyyy-M...

6 months ago | 2

Answered
Please Help me to combine the following data, Cut the data from the combined data and form a new data (screen shots are attached)
You can use strrep to replace the forward slashes and then use regular expressions to capture the characters. A = '/FF0A/-MFF0/...

6 months ago | 0

| accepted

Answered
How can I merge vector elements into a single number of type double?
Something like this? A = [1 2 3]; joined = str2num(strjoin(num2cell(num2str(A(:))),'')); %>> joined = 123 (type double) Ther...

6 months ago | 0

Answered
Find minimum difference in arrays from exact value
I've created this snippet for you with comments. clear all; close all; %read in your xlsx file T = readtable('Optionprice...

6 months ago | 0

| accepted

Answered
Is there a non-toolbox alternative for decodeHTMLEntities
Because of the lack of (quick) responses, I've made my own function which I made available here. It comes with a file called ent...

6 months ago | 0

| accepted

Submitted


htmlEntities - decode/encode html entities
An easy to use function to decode/encode html entities. Provided with 'entities.mat' which is a table consisting of chars and en...

6 months ago | 2 downloads |

Question


Is there a non-toolbox alternative for decodeHTMLEntities
I'm scraping data from the web and I noticed that some text contains html entities (& ,   etc.). Now I've found that I ...

6 months ago | 1 answer | 0

1

answer

Answered
Is random forest a classification ensemble methode?
I suggest you read the documentation on TreeBagger. "Treebagger grows the decision trees in the ensemble using bootstrap sampl...

6 months ago | 0

Answered
How to save file as pdf?
Well I don't think you can call saveas with an output argument which is why it gave you the error (see saveas documentation here...

7 months ago | 0

Question


rng(s) takes previous seed instead of current one
I've encountered this problem when using functions in combination with user input and rng(s). To clarify my problem, I've got th...

7 months ago | 2 answers | 0

2

answers

Answered
An iteration Code causing error
You say you're getting an error, but you didnt specify it in the description of your question. I ran the script and I assume you...

8 months ago | 0

Answered
How to get the columns of non zero matrix?
Your example is a bit vague, but if the main question is to find the non-zero values in the matrix, I would suggest using the fo...

8 months ago | 1

| accepted

Load more