i am executing the code below

upperLeft = dwt1_imData(1:r1, 1:c1); upperLeft; imshow(upperLeft,map);
now i want to apply dpcm on it. what will be the syntax. as i cant use * i=imread('upperLeft....')*

Answers (1)

I don't know what dpcm is, but if it's a function, pass in the upperLeft array that you created to that function:
results = dpcm(upperLeft);
Don't put quotes around it to turn it into a string, just pass in the numerical variable itself like I did.

3 Comments

dpcm is a matlab script
should i convert that script into function?
ok done.

This question is closed.

Tags

Asked:

on 14 Mar 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!