Community Profile

Contact

Professional Interests: wavelets, image processing, watermarking

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 4 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 4 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(:).

15517 views

Responded 6 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 6 years ago

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

7221 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...

5264 views

Responded 5 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 5 years ago

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

4790 views

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

3888 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...

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

3261 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 would definitely go for it, but I need Matlab routines to calculate integer-to-integer wavelet transform. Right now I'm consid...

2595 views

Responded 4 years ago

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

Posted 4 years ago

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...

2300 views

Responded 7 years ago

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

1601 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...

A(1,:,:) = permute(B,[3 2 1])

1298 views

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries