Beantwortet
imshow(Im) hangs when I run it on MATLAB 2016b on Ubuntu 16.04 - Has anyone solved this issue?
Hi, Instead of using your graphics hardware you can try using the software version of OpenGL built into MATLAB. To find i...

fast 8 Jahre vor | 1

Beantwortet
how can I compare two image after some changes?
Hi, To measure quality of lossy image compression techniques like JPEG, you may use PSNR (Peak Signal to noise ratio). ht...

fast 8 Jahre vor | 0

Beantwortet
What does "@" do ?
Hi, You might have seen function handles. A function handle is a MATLABĀ® data type that stores an association to a function. ...

fast 8 Jahre vor | 15

| akzeptiert

Beantwortet
How do I get a string to change everytime my xMax value changes?
Hi, You can try >> text(xMax,y4Max + 0.1,num2str(xMax),'HorizontalAlignment', 'center', 'FontSize', 15)

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
How to assign values to a struct array with fields?
Hi, >> x = struct('a',{10,20}); This will create x(1).a = 10 and x(2).a = 20 To modify an already existing structure array, ...

fast 8 Jahre vor | 8

| akzeptiert

Beantwortet
How to get displacement field from tform?
Hi Silja, The issue is because you are using an incomplete syntax of 'imwarp' in the code. 'imwarp' function has an 'OutputVi...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
tf2zpk vs. zp2tf
Hi, There might be some issues with your 'h22'. Note that you should use tf2zpk when working with transfer functions expresse...

fast 8 Jahre vor | 0

Beantwortet
How to average values and get a one-sided spectrum from two-sided spectrum?
Hi, Your code can be simplified a lot by using the MATLAB function 'spectrogram'. Please find the link below for details on ...

fast 8 Jahre vor | 0

Beantwortet
how to implement KNN classification in simulink
Hi Pavan, 1. Since Simulink does not support string inputs, you can convert class labels to digits. Like Class A can be repre...

fast 8 Jahre vor | 0

Beantwortet
How to get the answer from ifourier function?
Hi Sijie Cheng, Since you are using symbolic expression, you should use the command 'fplot' instead of 'plot'. Please use...

fast 8 Jahre vor | 0

Beantwortet
convert cell array to tiff?
Hi, If we assume that the size of the tiff file you need is a 97 X 2976 (97*96 = 2976), then first convert the cell to a matr...

mehr als 8 Jahre vor | 0

Beantwortet
scatter3, colors indicate 3dimensions
Hi, To color the marker points according to the temperature intensity, put c = temp. Now the values in 'c' are linearly mappe...

mehr als 8 Jahre vor | 0

| akzeptiert

Beantwortet
how to get two different images from a real time video?
Hi, A demo code is available in MATLAB, 'demoimaq_GetSnapshot.m'. Type 'demoimaq_GetSnapshot.m' in your MATLAB editor. This h...

mehr als 8 Jahre vor | 0

Beantwortet
Plot a 3D histogram with 3 arrays (vectors) of different sizes
Hi, Suppose you have an 8*8 gray scale image (64 pixels in total). So the x axis varies from 1 to 255 and y axis from 1 to 64,...

mehr als 8 Jahre vor | 0