Community Profile

photo

YT


Last seen: 3 years ago Active since 2017

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • 6 Month Streak
  • Revival Level 1
  • Knowledgeable Level 4
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Question


curl with symbolic vector
I'm trying to do use curl with a symbolic vector, but it just keeps on returing a zero vector. % ∇ × F syms Fx Fy Fz x y z c...

4 years ago | 1 answer | 0

1

answer

Answered
Different results on different version Matlab
You could try to check the release notes and see if there are any functions you're using that may have changed. And maybe check...

4 years ago | 0

| accepted

Answered
produce a cell array of cell arrays of element names
If getElementNames is a function, you should use round brackets instead of curly brackets: element_names = getElementNames(elem...

4 years ago | 0

| accepted

Question


Numden on complex equation returns unexpected result
I have the following complex symbolic equation syms F_c M B w K; eq = F_c/(- M*w^2 + B*w*1i + K); Now I just want to get the ...

4 years ago | 2 answers | 0

2

answers

Answered
how i can convert struct to matrix
You could, for example, create a cell array: C = {}; C{1,1} = s(1).f1; C{1,2} = s(1).f2; C{2,1} = s(2).f1; C{2,2} = s(2).f2...

4 years ago | 0

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 years ago | 3 answers | 1

3

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

5 years 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 =...

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

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

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

5 years ago | 1

| accepted

Answered
Fill the region between two lines
Here you go

5 years ago | 1

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

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

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

5 years 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/...

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

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

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

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

5 years ago | 4 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 ...

5 years ago | 1 answer | 0

1

answer

Load more