Community Profile # Pamudu Ranasinghe

Last seen: 1 día ago Active since 2020

#### Statistics

All
• • • • • #### Content Feed

View by

Saving multiple figures to a single PDF file
I think the easiest way is to write all your codes in MATLAB Live script. Then you have two ways to do that Option 1 - Save Li...

2 meses ago | 0

How to transfer this into matlab code
img=imread('img_test.jpg'); RGB_Sum=sum(img,3); %%%---> Method 1 [R,G,B]=imsplit(img); %%%Method 2 %R=img(:,:,1); ...

3 meses ago | 0

| accepted

Is it possible to add an 'other' bar to a PARETO plot in MATLAB 7.8 (R2009a)?
function MyParetoDig(X,data) %Pamudu Ranasinghe %2021/06/06 %This Function takes two Parmaters "X" and "data" ...

4 meses ago | 0

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

10 meses ago

Solved

Given a and b, return the sum a+b in c.

10 meses ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

10 meses ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

10 meses ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

10 meses ago