Community Profile

KALYAN ACHARJYA

1,093 total contributions since 2017

#Image Processing
#Whatsapp+91-8387942066
#Alma-mater Tezpur University India

View details...

Contributions in
View by

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

How to define a global variable
Here Matlab Documentation: https://in.mathworks.com/help/matlab/ref/global.html

21 hours ago | 0

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

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

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

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

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

Finding mean for multiple matrices

1 day ago | 0

| accepted

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

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

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

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

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

how to put/get a matrix from array
B{1} Do call other cell array in simillar ways.

3 days ago | 0

| accepted

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

How to convert 3D image to 1D data?
result=reshape(3Dimage,[1 rows*colm*depth])

3 days ago | 0

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

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

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

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

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

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

The @ symbol in Matlab

6 days ago | 0

| accepted

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

Cropping images into patches
patch1=original_image(1:1495,1:1495); patch2=original_image(1496:end,1496:end);

6 days ago | 0

| accepted

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

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

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