Community Profile

photo

Ergin Sezgin


Last seen: 4 months ago Active since 2022

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
Turkish

Statistics

All
  • Promoter
  • Thankful Level 1
  • Knowledgeable Level 2
  • Solver
  • First Answer

View badges

Feeds

View by

Solved


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

9 months ago

Solved


The Goldbach Conjecture
The Goldbach conjecture asserts that every even integer greater than 2 can be expressed as the sum of two primes. Given the eve...

10 months ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

10 months ago

Solved


Kaprekar Steps
6174 is the Kaprekar constant. All natural numbers less than 10,000 (except some with same digits) can be reduced to 6174 in the...

10 months ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

10 months ago

Solved


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

10 months ago

Solved


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

10 months ago

Answered
Draw multi graphs in one figure
Hi Reji, You can use subplot function to create axes in tiled positions which might be useful for your case. However, If you n...

10 months ago | 0

| accepted

Question


Is it possible to migrate to MATLAB App Designer (.mlapp) using a properly structured .m file?
Hello, I wonder if it is possible to migrate a properly structured .m file to App Designer. By proper I mean that it is complet...

10 months ago | 1 answer | 0

1

answer

Answered
Processing data from multiple files
Hi Dolev, Try using curly brackets "{}" instead of parentheses. Alternatively, take a look at datastore which is another option...

1 year ago | 0

Answered
centroid for each slice along one axis in a .nrrd file
Hey, You can isolate the layers, binarize them with imbinarize function, manipulate the regions by morphology if necessary, and...

1 year ago | 0

| accepted

Answered
How can I color an image?
Hello, Reshape function only changes the size of an array but keeps the number of elements same. For a color image in RGB color...

1 year ago | 1

Question


Communication between external softwares and standalone app from Appdesigner
Hello, I am working on a standalone application project which actively needs to communicate with several external softwares. Th...

1 year ago | 1 answer | 0

1

answer

Answered
detect the largest red object, its centroid and put bounding box around it
You can use regionprops function as the following to get area value of each individual region and then sort the table and get th...

1 year ago | 0

Answered
Adding certain elements in an input vector and outputting a new vector with those sums.
Hello Coleman, It is relatively an easy task and seems like a homework so let me just help on the algorithm instead of the code...

1 year ago | 0

Answered
How to replace matrix elements by using statements?
Hello Hasancan, You should use both rows and columns in two for loops to check and adjust each element in a 2D matrix. for i ...

1 year ago | 0

Answered
How to Update Label Text from Custom Function in AppDesigner?
Hello Arda, Try using drawnow to update figures and callbacks as the following: function analyse_result = analyse(path_dir...

1 year ago | 0

| accepted

Answered
Find the position of numbers in array
Hello Marco, Following code might help with your task: rng(2022) inputArray = 100*rand(1,1820); % you should use your array ...

1 year ago | 0

Answered
Remove numbers during preprocessing
Hello Rachele, Try using the following code with your string array. words = ["stringOne", "stringTwo", "2022", "stringThree"] ...

1 year ago | 0

Answered
what we should use instead of 'datetime'
Hello Arash, As far as I understand from your case, you have an array of seconds which is a duration. If its data class is not ...

1 year ago | 0

| accepted

Answered
Image processing k-mean clustering
Hello Sam, You can use Image Segmenter and Image Region Analyzer Apps to accomplish your task, without using k-means. Check the...

1 year ago | 1

| accepted

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

1 year ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Answered
Moving a slider and taking the data to calculate an output in the edit field section, appdesigner
Hello Fatma, FrequencyHzSliderValueChanged(app, event) seems like a callback rather than a public or private function. It invok...

1 year ago | 0

Answered
Remove duplicate on rows
Hello Heman, Try using unique function which returns only the unique elements in the array. newData = unique(yourData); If yo...

1 year ago | 0

Question


Trouble with sending emails - Can't send command to SMTP host
SOLVED Hello all, I am currently using sendmail function on MATLAB R2022a to periodically send emails to designated email adr...

1 year ago | 0 answers | 0

0

answers