Community Profile

photo

Selman Baysal


Canakkale Onsekiz Mart University

Last seen: 2 months ago Active since 2022

Followers: 0   Following: 0

Selman Baysal currently works at the Department of Hydraulic Engineering, Canakkale Onsekiz Mart University. He is also a Ph.D. student in the Coastal Sciences and Engineering Department, Istanbul Technical University.

Programming Languages:
R, MATLAB
Spoken Languages:
English, Turkish

Statistics

  • First Answer

View badges

Feeds

View by

Answered
name value pairs with variable input arguments
"varargin" is a cell array; this is why we cannot use something like varargin{1:2:nargin} and ~ischar(varargin(1:2:nargin)) give...

2 years ago | 0

Answered
Reverse character array using recursion
I solve this problem by removing first and last elements in the vector until one or zero element remains. function w = reversal...

2 years ago | 0

Answered
I want to write a recursive Function that can calculate the sum of all the digit. If the input is 12345 then the answer will be 1+2+3+4+5 , without using string2num and loop.
Hi, i have just done this homework. Here is my code: function output = digit_sum(A) remA = rem(A,10); % calculates the l...

2 years ago | 0

Answered
caesar cyphor encryption problem .
I am agree with @Wilver Sánchez's solution. I highly recommend avoiding to use "for loop" (it is not the wrong way, but it somet...

2 years ago | 0