1,093 total contributions since 2017

#Image Processing

#Whatsapp+91-8387942066

#Alma-mater Tezpur University India

Answered

can some one solved this question, it can't show the variable y

Try ? y=[]; for n=1:x for k=1:n if(n+k-1>0) y(n)=y(n)+hk*h(n-k); else end ...

can some one solved this question, it can't show the variable y

Try ? y=[]; for n=1:x for k=1:n if(n+k-1>0) y(n)=y(n)+hk*h(n-k); else end ...

3 hours ago | 0

Answered

How to define a global variable

Here Matlab Documentation: https://in.mathworks.com/help/matlab/ref/global.html

How to define a global variable

Here Matlab Documentation: https://in.mathworks.com/help/matlab/ref/global.html

21 hours ago | 0

Answered

MSE, RMSE and any other useful evaluation metrics

The u vector as follows (As per question) u=[0.5 1 0.6981 0.7854]; Est1=[0.499 0.99 0.689 0.779], Est2=[0.500 1.002 0.699 ...

MSE, RMSE and any other useful evaluation metrics

The u vector as follows (As per question) u=[0.5 1 0.6981 0.7854]; Est1=[0.499 0.99 0.689 0.779], Est2=[0.500 1.002 0.699 ...

21 hours ago | 0

Answered

variable solve for T help

molar_composition=[30.4/100,43.1/100,21.5/100,3.1/100,1.9/100]; Feed_stream=100; A=[6.8760,6.8968,6.9187,7.1161,6.9509]; B=[1...

variable solve for T help

molar_composition=[30.4/100,43.1/100,21.5/100,3.1/100,1.9/100]; Feed_stream=100; A=[6.8760,6.8968,6.9187,7.1161,6.9509]; B=[1...

1 day ago | 0

Answered

Write function for car sales

Requested you to read here about function call and here for if else , Without understanding, do not just copy paste the program,...

Write function for car sales

Requested you to read here about function call and here for if else , Without understanding, do not just copy paste the program,...

1 day ago | 1

Answered

How to create half cycle sine pulse train

How to create half cycle sine pulse train Is this? clc; clear all; close all; %wt = 0:0.2:pi; tp=2.2676*10^-3; Ts=22.67*1...

How to create half cycle sine pulse train

How to create half cycle sine pulse train Is this? clc; clear all; close all; %wt = 0:0.2:pi; tp=2.2676*10^-3; Ts=22.67*1...

1 day ago | 1

| accepted

Answered

How to change the color of the most recent plot point?

clear; close all; clc; %% matrix creation b = [100,25,50,25; 50,50,50,50; 20,125,5,50; 5,10,15,170]; %% plot figure times...

How to change the color of the most recent plot point?

clear; close all; clc; %% matrix creation b = [100,25,50,25; 50,50,50,50; 20,125,5,50; 5,10,15,170]; %% plot figure times...

1 day ago | 0

Answered

Finding mean for multiple matrices

Please do read here result1=mean(A); So on..

Finding mean for multiple matrices

Please do read here result1=mean(A); So on..

1 day ago | 0

| accepted

Answered

Symmetric binary matrix with diagonal 0 values

Beware: Before Try (I posted it as answer, so that you may get some idea) n=input('Eneter the value of n: ') result=zeros(10,...

Symmetric binary matrix with diagonal 0 values

Beware: Before Try (I posted it as answer, so that you may get some idea) n=input('Eneter the value of n: ') result=zeros(10,...

2 days ago | 0

Answered

insert date in date .txt

One way, save all file as cell array elements as strings data_file={'01/2001','02/2001','03/2001','12/2005'}; % Just an exampl...

insert date in date .txt

One way, save all file as cell array elements as strings data_file={'01/2001','02/2001','03/2001','12/2005'}; % Just an exampl...

2 days ago | 0

Answered

Index exceeds the number of array elements. Please Help?

Read about array indexing, suppose you have x=[2 3 4], its having 3 length, if you want acess x(5), it will shows Index exceeds ...

Index exceeds the number of array elements. Please Help?

Read about array indexing, suppose you have x=[2 3 4], its having 3 length, if you want acess x(5), it will shows Index exceeds ...

2 days ago | 1

| accepted

Answered

How to publish results from the command window in MATLAB

One Way: You can use diary function to save the all command window file in text form, later do the PDF conversion diary on ...

How to publish results from the command window in MATLAB

One Way: You can use diary function to save the all command window file in text form, later do the PDF conversion diary on ...

2 days ago | 0

| accepted

Answered

Making a vector of images

Set the current directory on the respective folder (Image Folder) Steps: Call the images one by one Save images in Cell Arra...

Making a vector of images

Set the current directory on the respective folder (Image Folder) Steps: Call the images one by one Save images in Cell Arra...

2 days ago | 0

| accepted

Answered

Hi there. i want to know that how can i change my MATLAB scale from scientific notation to mannual? I have my values on Y axis as [668.85 2548 5733 10192 15925 22932]

Here ytickformat https://in.mathworks.com/help/matlab/ref/ytickformat.html

Hi there. i want to know that how can i change my MATLAB scale from scientific notation to mannual? I have my values on Y axis as [668.85 2548 5733 10192 15925 22932]

Here ytickformat https://in.mathworks.com/help/matlab/ref/ytickformat.html

3 days ago | 0

Answered

how to put/get a matrix from array

B{1} Do call other cell array in simillar ways.

how to put/get a matrix from array

B{1} Do call other cell array in simillar ways.

3 days ago | 0

| accepted

Answered

Counting occurences of each number in a column when it's equal to all numbers in the same line?

P=[1 2 3 2 2 2 3 3 3 4 4 1 4 4 4 2 2 2 1 4 2]; [r c]=size(P); for i=1:r if range(P(i,:))==0 data=ismember(P,P(...

Counting occurences of each number in a column when it's equal to all numbers in the same line?

P=[1 2 3 2 2 2 3 3 3 4 4 1 4 4 4 2 2 2 1 4 2]; [r c]=size(P); for i=1:r if range(P(i,:))==0 data=ismember(P,P(...

3 days ago | 0

Answered

How to convert 3D image to 1D data?

result=reshape(3Dimage,[1 rows*colm*depth])

How to convert 3D image to 1D data?

result=reshape(3Dimage,[1 rows*colm*depth])

3 days ago | 0

Answered

How to get mean across cell array of arrays different size?

Might be following example help you cell1=rand(3,3,3); cell2=rand(2,3,2); cell3=randi(10,2,2) data={cell1,cell2,cell3}; % J...

How to get mean across cell array of arrays different size?

Might be following example help you cell1=rand(3,3,3); cell2=rand(2,3,2); cell3=randi(10,2,2) data={cell1,cell2,cell3}; % J...

3 days ago | 0

Answered

Undefined operator '>' for input arguments of type 'function_handle'. Error in simple_nlr (line 24) while err > tol

The err in your code is function handle >> err err = function_handle with value: @(a)sum((y(a)-ym).^2) You are ...

Undefined operator '>' for input arguments of type 'function_handle'. Error in simple_nlr (line 24) while err > tol

The err in your code is function handle >> err err = function_handle with value: @(a)sum((y(a)-ym).^2) You are ...

3 days ago | 0

Answered

How to select matrix data for looping?

Use mat2cell More: A=randi(100,100) result=mat2cell(A,repmat(10,1,10),repmat(10,1,10)); result

How to select matrix data for looping?

Use mat2cell More: A=randi(100,100) result=mat2cell(A,repmat(10,1,10),repmat(10,1,10)); result

3 days ago | 0

| accepted

Answered

how to calculate mse and psnr of compressed video?

One way: You can caluclate it frame by frame (as Images) PSNR

how to calculate mse and psnr of compressed video?

One way: You can caluclate it frame by frame (as Images) PSNR

5 days ago | 0

Answered

How do I save the matrices made in a loop and save them to a matrix?

How do I save the matrices made in a loop and save them to a matrix? Use cell array In your case: c=cell(1,n); % Preallocatio...

How do I save the matrices made in a loop and save them to a matrix?

How do I save the matrices made in a loop and save them to a matrix? Use cell array In your case: c=cell(1,n); % Preallocatio...

5 days ago | 0

Answered

Ploting stack of matrices

A=randi(100,[100 4 4]); %........... ^[rows column number of stack planes] B=randi(100,[100 4]); [r c d]=size(A); % d repres...

Ploting stack of matrices

A=randi(100,[100 4 4]); %........... ^[rows column number of stack planes] B=randi(100,[100 4]); [r c d]=size(A); % d repres...

5 days ago | 0

Answered

The @ symbol in Matlab

Read here https://in.mathworks.com/matlabcentral/answers/320129-what-does-do

The @ symbol in Matlab

Read here https://in.mathworks.com/matlabcentral/answers/320129-what-does-do

6 days ago | 0

| accepted

Answered

remove row and column

original_mat(1:17,:)=[]; original_mat(:,1:17)=[]; In the following example I have deleted 1 to 2 rows and columns of 5x5 matri...

remove row and column

original_mat(1:17,:)=[]; original_mat(:,1:17)=[]; In the following example I have deleted 1 to 2 rows and columns of 5x5 matri...

6 days ago | 0

Answered

Cropping images into patches

patch1=original_image(1:1495,1:1495); patch2=original_image(1496:end,1496:end);

Cropping images into patches

patch1=original_image(1:1495,1:1495); patch2=original_image(1496:end,1496:end);

6 days ago | 0

| accepted

Answered

How do I compare 'list' with 'out' to check where both values of a row for 'out' are equal to both values of a row for 'list'?

idx=find(list==out); You will get the all rows value, where "list" rows value equal to "out" rows elements. As per the questio...

How do I compare 'list' with 'out' to check where both values of a row for 'out' are equal to both values of a row for 'list'?

idx=find(list==out); You will get the all rows value, where "list" rows value equal to "out" rows elements. As per the questio...

6 days ago | 0

| accepted

Answered

symbolic multiplication doubt in usage of * or .*

* for scalar multiplecation When you multiply a vector by a number, known scalar multiplication, example supoose vec=[1,3,5,6]...

symbolic multiplication doubt in usage of * or .*

* for scalar multiplecation When you multiply a vector by a number, known scalar multiplication, example supoose vec=[1,3,5,6]...

6 days ago | 0

| accepted

Answered

If I have to create a number with a boolean matrix, is it possible to flip a column but still conserve it on its original position? How?

"is it possible to flip a column but still conserve it on its original position? How? No Any matrix elements positions are spe...

If I have to create a number with a boolean matrix, is it possible to flip a column but still conserve it on its original position? How?

"is it possible to flip a column but still conserve it on its original position? How? No Any matrix elements positions are spe...

6 days ago | 0

| accepted

Answered

mod gives incorrect result

May be the issue with Largest number in Matlab, Experts can elaborate more in this case >> 146^23 ans = 6.0272e+49 If yo...

mod gives incorrect result

May be the issue with Largest number in Matlab, Experts can elaborate more in this case >> 146^23 ans = 6.0272e+49 If yo...

7 days ago | 0