dct2 function in 5th line giving error
이전 댓글 표시
??? Error: File: dct2.m Line: 1 Column: 1 The input character is not valid in MATLAB statements or expressions. I have downloaded the packages required and the code was working previously on a linux machine.
close all;
clear all;
x=imread('lena.bmp');
figure, imshow(x);
F=dct2(x);
figure,imshow(F*0.01);
ff= idct2(F);
figure, imshow(ff/255);
댓글 수: 1
Steven Lord
2017년 4월 16일
What does this command show?
which -all dct2
답변 (1개)
abdul qayoom
2017년 11월 13일
0 개 추천
firstly store the image with .tif extension and also give full path like..x=imread('E:\lena.tif');
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!