Community Profile

Professional Interests: wavelets, image processing, watermarking

Contact

Top 5% contributor

Regarding the problems with loading file: what error exactly do you get? Perhaps there is an error in path to the file?

0

Answered 3 years ago

I'm learning how to use MEX files and I have a problem with using structures. I'm trying to convert to C a Matlab function that ...

1 Answers

Asked 3 years ago

I have an algorithm implemented in Matlab. It consists of many functions, each function in separate file and having its own unit...

Works like a charm! Thanks very much. I didn't know that I can convert 2D matrix to a vector using A(:).

11807 views

Responded 5 years ago

Size of matrices is just an example - they will be bigger (1024x1024) and this operation will be run thousands of times. Even if...

I've been programming in Matlab for quite a while now, but recently I ran into a problem that I can't solve in a neat and effici...

Posted 5 years ago

Which minimizer would be the best for such task? Let me clarify, that minimized function returns doubles, not integers, however...

5512 views

I want to perform parametrized function optimization with constraints using fmincon. I wrote appropriate nested function, that i...

It is enough, since the result has bits/2 bits (9 in that case). Great, thanks! I was thinking how this can be written in a mor...

3217 views

Responded 3 years ago

Ok, forget what I said. I restarted Matlab and it works fine. I consider the optimizing process complete - executon time is appr...

My mistake, the correct is n=2^9 and then bits=18. The loop gets executed 9 times. I certainly do. I changed the code to: scan...

This is an interesting observation. Declaring passMask as integer array, using logical operation on it (passMask = passMask | ma...

bwlabel is not what I need. Logical arrays are - I've just found out that there's such a thing. I've replaced all mask integer a...

Thanks for all the tips, they are helpful. I adjusted the parameters of the algorithm which reduced time to about 62 seconds. I'...

Matt J" wrote in message Thanks for response. Unfortunately the mask is not constant. I'm working on the implementation of EZW...

I have a matrix like this: 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0...

Posted 3 years ago

Perhaps something like this will work: [ ~, ind ] = sort( yourMatrix, 'descend' ); plot( yourMatrix( ind( 51 : end ) ) ); % ig...

3198 views

Responded 4 years ago

Steven_Lord" <slord@mathworks.com> wrote in message > You might find this submission on the File Exchange useful: Thanks! I jus...

2785 views

When I was a Java programmer I learned that TDD helps to increase reliability of the software and reduce number of bugs, but whe...

Posted 4 years ago

TideMan <mulgor@gmail.com> wrote in message <906e1cd0-ea0f-4873-8059-617e94692bb9@u18g2000prh.googlegroups.com> In fact that arr...

2764 views

John > Thanks for pointing me to Jacket, but I'm afraid my company won't go for a license :( TideMan > The idea seems neat, alt...

I have a program that operates on vectors of data. In each iteration one set of four vectors is processed. I store these vectors...

I'm not sure if I understand what you want to do. If you want to change the colours try colormap function (see help for more det...

2013 views

Responded 6 years ago

I would definitely go for it, but I need Matlab routines to calculate integer-to-integer wavelet transform. Right now I'm consid...

1857 views

I've written a class that is responsible for writing data to a binary file. It packs separate bits into bytes using bit operatio...

Thanks, that's very valuable information. Wow! I knew that Matlab prefers columns over rows but I wasn't aware that it impacts ...

1375 views

Let's say I have an array: randMatrix = Now I want to create array of two structures and assign rows of matrix randMatrix to f...

I see a problem here - g variable is not used in the calculations. This code would produce the same result in each loop. Anyway,...

1096 views

Load more