2023.05.27 10:02 *asteroidalex* **Combining Graphs- Nothing is being plotted**

Hi all,

I am trying to combine two graphs in MATLAB, but only neither of the graphs end up being plotted, and I am not sure why?

AlphaNone=readmatrix('turntable1_Alpha_No_absorber.txt'); H=histogram(AlphaNone); %% Generates histogram of data set HV=H.Values; HVBAR=HV/1774; %%% Convert to probabilities R=range(AlphaNone); M=mean(AlphaNone); %% Using the Range and Mean of this data enabes up to simulate a Poisson Distribution x = 0:R; y = poisspdf(x,M); figure hold on yyaxis left bar(x,y,1) xlabel('Counts') ylabel('Probability') yyaxis right bar(x,HVBAR,1) ylabel('Probability') legend('Simulated Distribution', 'Experimental Distribution') title('Alpha Radiation with no Absorber') hold off

submitted by asteroidalex to matlab [link] [comments]
I am trying to combine two graphs in MATLAB, but only neither of the graphs end up being plotted, and I am not sure why?

AlphaNone=readmatrix('turntable1_Alpha_No_absorber.txt'); H=histogram(AlphaNone); %% Generates histogram of data set HV=H.Values; HVBAR=HV/1774; %%% Convert to probabilities R=range(AlphaNone); M=mean(AlphaNone); %% Using the Range and Mean of this data enabes up to simulate a Poisson Distribution x = 0:R; y = poisspdf(x,M); figure hold on yyaxis left bar(x,y,1) xlabel('Counts') ylabel('Probability') yyaxis right bar(x,HVBAR,1) ylabel('Probability') legend('Simulated Distribution', 'Experimental Distribution') title('Alpha Radiation with no Absorber') hold off

2023.05.12 03:26 *asteroidalex* **Content Professional Development**

Hi all!

As a part of one of my university subjects this semester, I am writing a research project that involves some content-based PD around coding histograms, types of distributions and solar wind using MATLAB (a coding program used by some engineers and universities). I also am currently working as a maths teacher under the PTT scheme.

If you have completed any content-based PD, what have you found most and least valuable?

I know to keep things short and sweet as we're all limited on time, but any help is greatly appreciated!

submitted by asteroidalex to AustralianTeachers [link] [comments]
As a part of one of my university subjects this semester, I am writing a research project that involves some content-based PD around coding histograms, types of distributions and solar wind using MATLAB (a coding program used by some engineers and universities). I also am currently working as a maths teacher under the PTT scheme.

If you have completed any content-based PD, what have you found most and least valuable?

I know to keep things short and sweet as we're all limited on time, but any help is greatly appreciated!

2023.03.20 20:51 *shikanji101* **I'm a first-year MS Data Science student, looking for Summer/ Co-op Opportunities in data science, data analysis, cloud and machine learning.**

Any suggestions/ criticism to improve resume are encouraged!

https://preview.redd.it/agetrjg48yoa1.png?width=1699&format=png&auto=webp&s=5542d1743f31e1170010b609f4603326697ddf32

submitted by shikanji101 to EngineeringResumes [link] [comments]

https://preview.redd.it/agetrjg48yoa1.png?width=1699&format=png&auto=webp&s=5542d1743f31e1170010b609f4603326697ddf32

2023.03.13 15:22 *CastellZord* **Hi everyone, I'm new to matlab**

I have a set of data in excel and I have to create an histogram. I was able to open the excel file in Matlab but I don't know what to do from there, and I wasn't able to understand what to do from my Google search. Can you help me?

submitted by CastellZord to matlab [link] [comments]
2023.03.05 21:12 *Historical-Size-406* **Junior applying to internships be brutally honest**

2023.01.27 23:41 *RayzTheRoof* **Computer Science Master's Graduate - not getting interviewed even for consultant groups**

submitted by RayzTheRoof to EngineeringResumes [link] [comments]

2023.01.26 00:12 *_maniacx_* **Application: Generative AI Product for Engineering Analysis**

Hey all!

We've spent the better part of the last 1.5 year building a new AI + Compute tool that helps both generate code and execute it in isolated cloud environments.

Its meant to be a perfect solution for technical users who need to quickly and easily conduct analysis, without having to remember how to do things in code.

You can write and run code, and receive visual outputs in a variety of formats similar to Matlab et al. We also take advantage of the things being a cloud-native product enables us to provide, such as letting you schedule and trigger tasks off external things, share compute environments between team members, and collaborate with each other in real time.

People are using it like an old school TI-84 on steroids for random engineering work (why remember how to make an FFT / make a histogram / take the mean of a dataset / etc.).

Would very much love to share the product with everyone here, and would absolutely love feedback!

Public beta at: dystr.com

https://reddit.com/link/10lcsda/video/k2c3m0o8u9ea1/player

submitted by _maniacx_ to ArtificialInteligence [link] [comments]
We've spent the better part of the last 1.5 year building a new AI + Compute tool that helps both generate code and execute it in isolated cloud environments.

Its meant to be a perfect solution for technical users who need to quickly and easily conduct analysis, without having to remember how to do things in code.

You can write and run code, and receive visual outputs in a variety of formats similar to Matlab et al. We also take advantage of the things being a cloud-native product enables us to provide, such as letting you schedule and trigger tasks off external things, share compute environments between team members, and collaborate with each other in real time.

People are using it like an old school TI-84 on steroids for random engineering work (why remember how to make an FFT / make a histogram / take the mean of a dataset / etc.).

Would very much love to share the product with everyone here, and would absolutely love feedback!

Public beta at: dystr.com

https://reddit.com/link/10lcsda/video/k2c3m0o8u9ea1/player

2023.01.18 18:44 *ricodouga* **Software Engineer Resume Revision Needed**

https://preview.redd.it/dvhrzmnl8uca1.png?width=1048&format=png&auto=webp&s=68b0e8ec8c51200cdf76ae5b87197de4260e8e42

https://preview.redd.it/tn9rkf9p8uca1.png?width=1045&format=png&auto=webp&s=2fb02c99b809a2b355ade448c7df637e36d3a68e

My current position is Database Programmer as listed in my resume. I would like to transition into a mid-level software engineer or a more advanced database administrator.

Any feedback is appreciated. In particular, I am struggling with my "Technical Skills" section. The section displayed right now is how it looked back to when I accepted my current position. I am thinking about trimming it by a lot, but not sure where to start.

I have quite a lot of thoughts but not sure where to start. I will definitely update the post as people ask me questions. Thank you everyone so much in advance. I really appreciate it.

submitted by ricodouga to resumes [link] [comments]
https://preview.redd.it/dvhrzmnl8uca1.png?width=1048&format=png&auto=webp&s=68b0e8ec8c51200cdf76ae5b87197de4260e8e42

https://preview.redd.it/tn9rkf9p8uca1.png?width=1045&format=png&auto=webp&s=2fb02c99b809a2b355ade448c7df637e36d3a68e

My current position is Database Programmer as listed in my resume. I would like to transition into a mid-level software engineer or a more advanced database administrator.

Any feedback is appreciated. In particular, I am struggling with my "Technical Skills" section. The section displayed right now is how it looked back to when I accepted my current position. I am thinking about trimming it by a lot, but not sure where to start.

I have quite a lot of thoughts but not sure where to start. I will definitely update the post as people ask me questions. Thank you everyone so much in advance. I really appreciate it.

2023.01.14 01:43 *JW_Firzen* **What is the negative 2 power of a normal distribution**

Consider a normal distribution N(mu,sigma) where mu is the mean and sigma is the standard deviation of the distribution and they are not 0 and 1. Now I have a random variable R whose probability distribution is:

P(R) = (1/2)*[N(mu, sigma)^(-2)]

Does the random variable R still has a normal distribution? How to calculate the two parameters if it is still normal. What would be the distribution if this result is no longer normal.

PS: I generated some random data like I described and plotted the histogram on matlab. The result is not looking normally distributed and the mu and sigma are different with the original when fit a normal curve onto the data.

Distribution of a R generated with (1/2)*[N(0.38, 0.07)^(-2)]. A normal curve is fitted onto these data.

submitted by JW_Firzen to askmath [link] [comments]
P(R) = (1/2)*[N(mu, sigma)^(-2)]

Does the random variable R still has a normal distribution? How to calculate the two parameters if it is still normal. What would be the distribution if this result is no longer normal.

PS: I generated some random data like I described and plotted the histogram on matlab. The result is not looking normally distributed and the mu and sigma are different with the original when fit a normal curve onto the data.

Distribution of a R generated with (1/2)*[N(0.38, 0.07)^(-2)]. A normal curve is fitted onto these data.

2023.01.12 18:00 *SpaceLoreB* **Can anybody enlighten me on what's going on? It would seem as the condition stated in the error log is already satisfied...**

submitted by SpaceLoreB to matlab [link] [comments] |

2022.10.06 01:10 *Drezkul* **how do I fix this chart it says if it is a rainbow then it's wrong. what do I ND to change for script.**

submitted by Drezkul to matlab [link] [comments] |

2022.10.03 11:04 *Railysse* **(UK) Please review my Data Analyst résumé (recent graduate - no experience)**

submitted by Railysse to dataanalysis [link] [comments] |

2022.10.02 22:48 *Railysse* **Please review my Data Analyst résumé (recent graduate - no experience)**

Hello there!

As the title suggests, I've recently graduated and I'm looking for a Data Analyst job in London.

I have no professional experience and I would greatly appreciate any suggestion on how I could improve my résumé.

https://preview.redd.it/837ibj1bggr91.png?width=1585&format=png&auto=webp&s=462e98123a2a05bc539cd854ac6f33cbd2d36c31

submitted by Railysse to resumes [link] [comments]
As the title suggests, I've recently graduated and I'm looking for a Data Analyst job in London.

I have no professional experience and I would greatly appreciate any suggestion on how I could improve my résumé.

https://preview.redd.it/837ibj1bggr91.png?width=1585&format=png&auto=webp&s=462e98123a2a05bc539cd854ac6f33cbd2d36c31

2022.09.23 16:41 *SquareProtection2617* **Histogram + fitted lognormal distribution plot**

Hello!

I'm new to MATLAB and I've read several articles, but I'm still struggling. I have a data set and am asked to fit a lognormal distribution, create a histogram + fitted lognormal distribution plot.

Any assistance/guidance would be greatly appreciated!

submitted by SquareProtection2617 to matlab [link] [comments]
I'm new to MATLAB and I've read several articles, but I'm still struggling. I have a data set and am asked to fit a lognormal distribution, create a histogram + fitted lognormal distribution plot.

Any assistance/guidance would be greatly appreciated!

2022.08.24 00:32 *Creative_Sushi* **Tables are new structs**

I know some people love struct, as seen in this poll. But here I would like to argue that in many cases people should use tables instead, after seeing people struggle here because they made wrong choices in choosing data types and/or how they organize data. submitted by Creative_Sushi to matlab [link] [comments] As u/windowcloser says, struct is very useful to organize data and especially when you need to dynamically create or retrieve data into variables, rather than using eval. I also use struct to organize data of mixed data type and make my code more readable. s_arr = struct; s_arr.date = datetime("2022-07-01") + days(0:30); s_arr.gasprices = 4.84:-0.02:4.24; figure plot(s_arr.date,s_arr.gasprices) title('Struct: Daily Gas Prices - July 2022')plotting from struct However, you can do the same thing with tables. tbl = table; tbl.date = datetime("2022-07-01") + (days(0:30))'; % has to be a column vector tbl.gasprices = (4.84:-0.02:4.24)'; % ditto figure plot(tbl.date,tbl.gasprices) title('Table: Daily Gas Prices - July 2022')Plotting from table As you can see the code to generate structs and tables are practically identical in this case. Unlike structs, you cannot use nesting in tables, but the flexibility of nesting comes at a price, if you are not judicious. Let's pull some json data from Reddit. Json data is nested like XML, so we have no choice but use struct. message = "https://www.reddit.com/matlab/hot/.json?t=all&limit=100&after=" [response,~,~] = send(matlab.net.http.RequestMessage, message); s = response.Body.Data.data.children; % this returns a structs is a 102x1 struct array with multiple fields containing mixed data types. So we can access the 1st of 102 elements like this: s(1).data.subredditreturns 'matlab' s(1).data.titlereturns 'Submitting Homework questions? Read this' s(1).data.upsreturns 98 datetime(s(1).data.created_utc,"ConvertFrom","epochtime")returns 16-Feb-2016 15:17:20 However, to extract values from the sale field across all 102 elements, we need to use arrayfun and an anonymous function @(x) ..... And I would say this is not easy to read or debug. posted = arrayfun(@(x) datetime(x.data.created_utc,"ConvertFrom","epochtime"), s);Of course there is nothing wrong with using it, since we are dealing with json. figure histogram(posted(posted > datetime("2022-08-01"))) title("MATLAB Subreddit daily posts")plotting from json-based struct However, this is something we should avoid if we are building struct arrays from scratch, since it is easy to make a mistake of organizing the data wrong way with struct. Because tables don't give you that option, it is much safer to use table by default, and we should only use struct when we really need it. |

2022.07.18 09:25 *Representative-Cup17* **I will do data analysis in rstudio and rapid miner**

**R Studio****RapidMiner****Matlab**

*Scatter Plots**Histograms**Bar Charts**Pie Charts**Point Maps (for geo location)**Route Maps (for travel data)**Spatial Maps (regional/polygonal data)**And many more*

*Predictive Modeling**Churn Analysis**Sentimental Analysis**Text Analysis**Tweet Extraction ( Based on Key Words/Location/Time )**Cluster Analysis**Deep Learning**Decision Tree**Logistic Regression**Linear Regression etc.*

- Models & methods
- Machine Learning
- Deep learning
- Neural networks
- Supervised learning
- Unsupervised learning
- Decision trees
- Cluster computing
- Linear regression
- Churn
- Sentimental analysis

- Python
- R
- MATLAB
- Other

2022.05.23 15:35 *Cumbimat* **PC goes out of memory when I run this code the second time once I open a Matlab session... what is wrong ??**

Hi all, i'm newbie of Matlab so for sure there is something that i do wrong. I thought that the problem was the increase in array size with each iteration (mmx[],mmy[] and ncc[]) so I try to preallocate but nothing changes. As I said in the title, the problem is that if I run this code two times, the PC become busy and i have to shit down Matlab. However the code works but I don't understand why this problem is happening. Here is my code, thanks in advance for any suggestions.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Specify the folder where the files live. myFolder = 'C:\Users\matte\Desktop\JPG_Tinta'; % Check to make sure that folder actually exists. Warn user if it doesn't. if ~isfolder(myFolder) errorMessage = sprintf('Error: The following folder does not exist:\n%s\nPlease specify a new folder.', myFolder); uiwait(warndlg(errorMessage)); myFolder = uigetdir(); % Ask for a new one. if myFolder == 0 % User clicked Cancel return; end end % Get a list of all files in the folder with the desired file name pattern. filePattern = fullfile(myFolder, '*.JPG'); % Change to whatever pattern you need. theFiles = dir(filePattern); mmx = []; mmy = []; ncc = []; champ = num2cell( 'D' : 'Y' ); RealPix2mm = 18.5; %valore per la foto a dimensioni reali ScaledPix2mm = round(RealPix2mm * 0.125,2); %valore per la foto re-sized disp(['Il scala delle immagini è: ' num2str(ScaledPix2mm) ' pixel/mm.']);

for z = 2 : length(theFiles) baseFileName = theFiles(z).name; fullFileName = fullfile(theFiles(z).folder, baseFileName); fprintf(1, 'Now reading %s\n', fullFileName); %% Import images ao = imread("1Me.JPG"); bo = imread(fullFileName); a = imresize(ao,0.125,"bicubic"); b = imresize(bo,0.125,"bicubic"); %RGB to gray AG = im2gray(a); BG = im2gray(b); %uint8 to double ag = im2double(AG).*255; bg = im2double(BG).*255; %Massimi asse x quindi delle colonne M = max (ag,[],1); N = max (bg,[],1); [i,j] = max(M); [k,l] = max(N); %Plotto i grafici figure plot(M,'g-') axis tight hold on plot(N,'r-') plot(j,i,'ob') text(j*1.10,i*1.05,'Massimo campione metallizzato') plot(l,k,'ob') text(l*1.10,k*1.05,'Massimo campione') hold off ylim([0 255]) title("Comparazione dei massimi sull'asse x") xlabel("N° di pixel asse x") ylabel("Intensità") legend('Campione metallizzato','Campione'); %Determino lo shift tra i due massimi xshift = round(abs( j - l ),2); mmShiftx = round((xshift/ScaledPix2mm),2); %arrotondo alle prime due cifre decimali disp(['La distanza tra i due massimi è di ' num2str(xshift) ' pixel.']); disp(['Lo shift sull''asse x del picco massimo del campione ' baseFileName ' è ' num2str(mmShiftx) ' mm.']) mmx =[mmx,mmShiftx]; %% Determino una funzione Max che plotto i massimi di entrambe le immagini colonna per colonna e crea un vettore riga %Massimi asse y quindi delle righe m= max(ag,[],2); n = max(bg,[],2); [o,p] = max(m); [g,h] = max(n); %Plotto i grafici figure plot(m,'g-') axis tight hold on plot(n,'r-') plot(p,o,'ob') text(p*1.10,o*1.05,'Massimo campione metallizzato') plot(h,g,'ob') text(h*1.10,g*1.05,'Massimo campione') hold off ylim([0 255]); title("Comparazione dei massimi sull'asse y") xlabel("N° di pixel asse y") ylabel("Intensità") legend('Campione metallizzato','Campione '); %Determino lo shift tra i due massimi yshift = round(abs( o - g ),2); mmShifty = round((yshift/ScaledPix2mm),2); disp(['La distanza tra i due massimi è: ' num2str(yshift) ' pixel.']); disp(['Lo shift sull''asse y del picco massimo del campione ' baseFileName ' è ' num2str(mmShifty) ' mm.']) mmy =[mmy,mmShifty]; %Determino coefficiente di correlazione campione per campione cc = corr2(AG,BG); ncc = [ncc,cc]; disp(['Il coefficiente di correlazione 2-D tra il campione metallizzato ed il campione ' baseFileName ' è: ' num2str(cc) '.']); end % figure % histogram('Categories',champ,'BinCounts',mmx); figure plot(mmx,'r-o'); ylabel("x-shift (mm)") xticks(1:22) xticklabels(champ) xlabel("Campioni") ylabel("X-shift (mm)") title("Intensity x-shift from standard") % figure % histogram('Categories',champ,'BinCounts',mmy); figure plot(mmy,'g-o'); ylabel("y-shift (mm)") xticks(1:22) xticklabels(champ) xlabel("Campioni") ylabel("Y-shift (mm)") title("Intensity y-shift from standard") % figure % histogram('Categories',champ,'BinCounts',ncc); figure plot(ncc,'b-o'); ylabel("Coefficiente di correlazione 2-D") xticks(1:22) xticklabels(champ) xlabel("Campioni") title("Coefficiente di correlazione 2-D tra campione metallizzato e campioni prodotti")

submitted by Cumbimat to matlab [link] [comments]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Specify the folder where the files live. myFolder = 'C:\Users\matte\Desktop\JPG_Tinta'; % Check to make sure that folder actually exists. Warn user if it doesn't. if ~isfolder(myFolder) errorMessage = sprintf('Error: The following folder does not exist:\n%s\nPlease specify a new folder.', myFolder); uiwait(warndlg(errorMessage)); myFolder = uigetdir(); % Ask for a new one. if myFolder == 0 % User clicked Cancel return; end end % Get a list of all files in the folder with the desired file name pattern. filePattern = fullfile(myFolder, '*.JPG'); % Change to whatever pattern you need. theFiles = dir(filePattern); mmx = []; mmy = []; ncc = []; champ = num2cell( 'D' : 'Y' ); RealPix2mm = 18.5; %valore per la foto a dimensioni reali ScaledPix2mm = round(RealPix2mm * 0.125,2); %valore per la foto re-sized disp(['Il scala delle immagini è: ' num2str(ScaledPix2mm) ' pixel/mm.']);

for z = 2 : length(theFiles) baseFileName = theFiles(z).name; fullFileName = fullfile(theFiles(z).folder, baseFileName); fprintf(1, 'Now reading %s\n', fullFileName); %% Import images ao = imread("1Me.JPG"); bo = imread(fullFileName); a = imresize(ao,0.125,"bicubic"); b = imresize(bo,0.125,"bicubic"); %RGB to gray AG = im2gray(a); BG = im2gray(b); %uint8 to double ag = im2double(AG).*255; bg = im2double(BG).*255; %Massimi asse x quindi delle colonne M = max (ag,[],1); N = max (bg,[],1); [i,j] = max(M); [k,l] = max(N); %Plotto i grafici figure plot(M,'g-') axis tight hold on plot(N,'r-') plot(j,i,'ob') text(j*1.10,i*1.05,'Massimo campione metallizzato') plot(l,k,'ob') text(l*1.10,k*1.05,'Massimo campione') hold off ylim([0 255]) title("Comparazione dei massimi sull'asse x") xlabel("N° di pixel asse x") ylabel("Intensità") legend('Campione metallizzato','Campione'); %Determino lo shift tra i due massimi xshift = round(abs( j - l ),2); mmShiftx = round((xshift/ScaledPix2mm),2); %arrotondo alle prime due cifre decimali disp(['La distanza tra i due massimi è di ' num2str(xshift) ' pixel.']); disp(['Lo shift sull''asse x del picco massimo del campione ' baseFileName ' è ' num2str(mmShiftx) ' mm.']) mmx =[mmx,mmShiftx]; %% Determino una funzione Max che plotto i massimi di entrambe le immagini colonna per colonna e crea un vettore riga %Massimi asse y quindi delle righe m= max(ag,[],2); n = max(bg,[],2); [o,p] = max(m); [g,h] = max(n); %Plotto i grafici figure plot(m,'g-') axis tight hold on plot(n,'r-') plot(p,o,'ob') text(p*1.10,o*1.05,'Massimo campione metallizzato') plot(h,g,'ob') text(h*1.10,g*1.05,'Massimo campione') hold off ylim([0 255]); title("Comparazione dei massimi sull'asse y") xlabel("N° di pixel asse y") ylabel("Intensità") legend('Campione metallizzato','Campione '); %Determino lo shift tra i due massimi yshift = round(abs( o - g ),2); mmShifty = round((yshift/ScaledPix2mm),2); disp(['La distanza tra i due massimi è: ' num2str(yshift) ' pixel.']); disp(['Lo shift sull''asse y del picco massimo del campione ' baseFileName ' è ' num2str(mmShifty) ' mm.']) mmy =[mmy,mmShifty]; %Determino coefficiente di correlazione campione per campione cc = corr2(AG,BG); ncc = [ncc,cc]; disp(['Il coefficiente di correlazione 2-D tra il campione metallizzato ed il campione ' baseFileName ' è: ' num2str(cc) '.']); end % figure % histogram('Categories',champ,'BinCounts',mmx); figure plot(mmx,'r-o'); ylabel("x-shift (mm)") xticks(1:22) xticklabels(champ) xlabel("Campioni") ylabel("X-shift (mm)") title("Intensity x-shift from standard") % figure % histogram('Categories',champ,'BinCounts',mmy); figure plot(mmy,'g-o'); ylabel("y-shift (mm)") xticks(1:22) xticklabels(champ) xlabel("Campioni") ylabel("Y-shift (mm)") title("Intensity y-shift from standard") % figure % histogram('Categories',champ,'BinCounts',ncc); figure plot(ncc,'b-o'); ylabel("Coefficiente di correlazione 2-D") xticks(1:22) xticklabels(champ) xlabel("Campioni") title("Coefficiente di correlazione 2-D tra campione metallizzato e campioni prodotti")

2022.05.22 00:54 *ImhereforAB* **Looking for tutorials**

Hello all. I am looking for MATLAB problems/assignments/tutorials for digital photography (literally anything related to it). It is so that I can familiarise myself with relevant algorithms, common/useful functions and the concept itself. I don’t want to just be plotting a histogram and call it a day.

Any links, sources would be appreciated. I already looked through mathworks documentation.

In case I have to mention it, this is for personal use. Unsure how to tag this post so put it under technical question.

Thanks in advance.

submitted by ImhereforAB to matlab [link] [comments]
Any links, sources would be appreciated. I already looked through mathworks documentation.

In case I have to mention it, this is for personal use. Unsure how to tag this post so put it under technical question.

Thanks in advance.

2022.04.07 22:47 *moschles* **I have a collection of discrete frequency counts in a histogram. I want to convert this into a PDF ("probability distribution function") such that the sum of all the bin sizes adds to 1.0 What procedure does this conversion?**

I have a collection of discrete frequency counts in a histogram. I want to convert this into a PDF ("probability distribution function") such that the sum of all the bin sizes adds to 1.0 What procedure does this conversion?

(2nd question)

And how can this be done in Matlab?

Here is my histogram bins :

submitted by moschles to cheatatmathhomework [link] [comments]
(2nd question)

And how can this be done in Matlab?

Here is my histogram bins :

21 | 9 | 19 | 3 | 1 | 31 | 11 | 20 | 11 |
---|

2022.03.12 18:22 *Beneficial-Lead7846* **Reversible Data Hiding on Color Images**

Data embedding is done by processing these selected coefficients of the modified subband histograms. We present a high capacity reversible watermarking scheme using the technique of difference & average value coefficients of image blocks by using the tool Matlab. This scheme takes advantage of difference & average value coefficients, which permits low distortion between the watermarked image and the original one caused by the LSB bit replacement operations of the watermarking technique specifically in the embedding process.

submitted by Beneficial-Lead7846 to u/Beneficial-Lead7846 [link] [comments]
2022.03.06 11:27 *Main_Advantage_8158* **Reversible Data Hiding on Color Images**

Data embedding is done by processing these selected coefficients of the modified subband histograms. We present a high capacity reversible watermarking scheme using the technique of difference & average value coefficients of image blocks by using the tool Matlab. This scheme takes advantage of difference & average value coefficients, which permits low distortion between the watermarked image and the original one caused by the LSB bit replacement operations of the watermarking technique specifically in the embedding process.

submitted by Main_Advantage_8158 to u/Main_Advantage_8158 [link] [comments]
2022.02.27 19:58 *BigBuddy2310* **Help just using Matlab for HW**

I'm not sure how to do this in ML. I've got an example with practically zero context or info explaining what is being done. The textbook example being referenced in the question is not being done in ML, so I'm just all around confused. Maybe the first part doesn't need to be done in ML, Idk. submitted by BigBuddy2310 to matlab [link] [comments] Edit: I've included the section of the book being mentioned in the HW problem below. Please build the example shown by the textbook in page 169, for n =4. This includes the tree of possible outcomes in n=4 trials. Then plot a distribution N(0,1) using Matlab, and plot the histogram obtained for n=4. Make sure that the histogram is plotted in probability density on the vertical axis. https://preview.redd.it/pgrhksjnhfk81.jpg?width=3024&format=pjpg&auto=webp&s=b2cacb77def08d4dc5129204e36a3ad4db714aee https://preview.redd.it/okuwjvjnhfk81.jpg?width=2312&format=pjpg&auto=webp&s=ad4354b8ba70134e41ad8aa652b3f22635c3d04f https://preview.redd.it/76qc9sjnhfk81.jpg?width=2062&format=pjpg&auto=webp&s=93fe051073de0e412751adbe72ead87eb2e71fde https://preview.redd.it/79scfujnhfk81.jpg?width=2196&format=pjpg&auto=webp&s=27d52731c125c55901904904ecbdd579474c340d https://preview.redd.it/aitwzqjnhfk81.jpg?width=1988&format=pjpg&auto=webp&s=282f8adfd203f6e43898cff266a2c90e3e2a96b6 |