# yonatan gerufi

### Pebbles interfaces

Active since 2014

Followers: 0   Following: 0

Professional Interests: image processing, data anaylsis

All

View badges

#### Feeds

View by

Question

matlab crashes when running code on ~600 images
Hi, i want to remove duplicate images from my portable hardDisk (win 7, 64 bit) i have ~ 650 images, and i don't care abo...

9 years ago | 2 answers | 0

### 2

answers

Answered
How to find X and O using Image Processing toolbox?
if the X and O have fixed dimension and shape, is to build a mask for X and mask for O, and run it on the picture.

10 years ago | 0

Answered
how to add one space to a matrix ?
see in the "file exchange" : <http://www.mathworks.com/matlabcentral/fileexchange/36766-strpad-string-pad-for-matlab STRPAD S...

10 years ago | 0

Answered
number divided by vector
that's a good question, i believe both needs to be illegal. how do you suggest matlab will understand the command: ...

10 years ago | 0

Answered
number divided by vector
This is a tricky thing. *a.* the command: 10/ [10,20]' is equal (from matlab point of view) to: [10;0]/ [10;20...

10 years ago | 0

Answered
odd-even transposition Algorithm
if your array is called "arr", simple code that will do the work is: odd =mod(arr,2); odd_arr = arr.*odd; odd_arr(odd...

10 years ago | 0

Answered
Subscript indices must either be real positive integers or logicals.
your example is very hard to understand. you should use debug to catch the error. try this method: try your code....

10 years ago | 0

Answered
Error using * Matrix dimensions must agree. please help.
well, your line: Wu(:,:,j)=Wu(:,:,j)+BF*DBF(j,:)*g2*g2'*DBF'; is totally messed up with dimension. think what dimen...

10 years ago | 1

Answered
matlab is getting slow when I am trying to read an image using imread() ?
use memory before and after doing: clear all. and see the difference. that's suppose to accelerate your spe...

10 years ago | 0

Question

find specific parameter in multiple m-files
Hi all, I want to find the location of specific parameter in multiple m-files. e.g i have 50 matlab files (*.m), and i ...

10 years ago | 1 answer | 3

### 1

answer

Answered
Preallocating zeros in cell array. and Which one is faster? 3D matrix, cell or structure data?
Hi Masha, first of all, regarding to code execution time see " *profiler* ". it's a matlab feature that analyze the runnin...

10 years ago | 0

Answered
How to write a function and create 3 nested loop then evaluate an integral?
for 3 dim integral use: integral3

10 years ago | 0

Answered
Why is MATLAB running slow? 2013a vs 2011a
there are many reason this could happen. any other programs are running? try memory to see how much matlab use, a...

10 years ago | 0

Answered
learning functions, need help
I highly recommend reading how functions works in Matlab. for your question, this: function [out1,out2] = MyAdder(a,b) ...

10 years ago | 0

Answered
Can anyone please help me correct the error in this program for generating a binary image from rgb image?
if you have image processing toolbox you can use " _im2bw_ " function.

10 years ago | 0

Answered
How to identify a specific location within a matrix based on a value
possible solution: % construct random binary matrix a=round(rand(5,10)); % find first minimal value: [value,po...

10 years ago | 0

| accepted

Answered
how to see the script of step(ha,fc,ang) function?
as far as i know, you can't access Matlab functions except the functions in your toolbox. those access can be viewed with ...

10 years ago | 0

Answered
find values of indexes
hopfully this will answer your question, The functions min & max give you back: [value, position] you can use it to ...

10 years ago | 0

Answered
Convert an RGB image to grayscale but keep one color?
Hi, there are several ways to do it, i find it easy to do: red_color = A(:,:,1); green_color = A(:,:,2); blue_c...

10 years ago | 0

Answered
Standard deviation: error because variable is of type double
Hi Anna, you can use std2(matrix) mean2(matrix) functions instead. your code did work for me, v = randn(...

10 years ago | 0

| accepted

Answered
How can i make sure that using imfindcircles will result in non-overlap circles?
Hi Asnida, Use "Circles overlap remover" function (see on file exchange <http://www.mathworks.com/matlabcentral/fileexchange/42...

10 years ago | 0

Answered
How to extract the value pixel values from an image or masked image?
Hi Dhanya, you can access to a specific pixel by typing : _figure_name(x_pos,y_pos)_ . In the MATLAB workspace, most im...

10 years ago | 0

Solved

Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

10 years ago

Solved

Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

10 years ago

Solved

Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

10 years ago

Solved

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

10 years ago

Solved

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

10 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

10 years ago

Solved

Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

10 years ago

Solved

Add two numbers
Given a and b, return the sum a+b in c.

10 years ago