Community Profile

# yonatan gerufi

### Pebbles interfaces

Active since 2014

Professional Interests: image processing, data anaylsis

All

#### Content Feed

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

meer dan 6 jaar ago | 2 answers | 0

### 2

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.

meer dan 7 jaar ago | 0

how to add one space to a matrix ?

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

well, your line: Wu(:,:,j)=Wu(:,:,j)+BF*DBF(j,:)*g2*g2'*DBF'; is totally messed up with dimension. think what dimen...

meer dan 7 jaar ago | 1

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

meer dan 7 jaar 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 ...

meer dan 7 jaar ago | 1 answer | 3

### 1

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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.

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

| accepted

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

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

meer dan 7 jaar ago | 0

| accepted

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

meer dan 7 jaar ago | 0

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

bijna 8 jaar 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...

bijna 8 jaar 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

bijna 8 jaar 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...

bijna 8 jaar ago

Solved

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

bijna 8 jaar ago

Solved

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

bijna 8 jaar ago

Solved

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

bijna 8 jaar 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...

bijna 8 jaar ago

Solved