Community Profile

photo

Burhan Burak AKMAN


Last seen: 2 years ago Active since 2021

I understand the universe with MatLab.

Programming Languages:
C++

Statistics

All
  • 3 Month Streak
  • MATLAB Central Treasure Hunt Finisher
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
display variable value in input message
You can use sprintf instead of fprintf like that. elements = input("Enter the number of elements: "); for i=1:elements ...

2 years ago | 0

| accepted

Answered
I want to generate a sine wave with decreasing amplitude after a fixed interval
You can create in the for loop like that, %We need a frequency for create sine wave I used 2hz you can change freq=2; %Angula...

2 years ago | 0

Answered
How to tighten the space of a worldmap plot
I think, you would try this code; xlim([-20000000 20000000]) ylim([-10000000 10000000])

2 years ago | 0

Answered
Optimization With Genetic Algorithm. Could not define objective Function!
Hello, I try solve your problem. I detected problem int the your local functions. Because dimensions of xij,rij and ai is not s...

2 years ago | 0

Answered
using loop and storing values in an array and get the out put image .
You can convert rgb image to array. path="https://pbs.twimg.com/profile_images/883859744498176000/pjEHfbdn_400x400.jpg"; % Tha...

2 years ago | 0

| accepted

Solved


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

2 years ago

Answered
Manipulating Data in cell array, especially Inf
I think that you can try this method on the other hand, that method shorter than if else method. %Example Matrix L_d_Matrix=[i...

2 years ago | 0

Answered
convert code to function
You can try this codes. If you give more details, I can help better. function out = geneticalgortihm(birincifaz, ikincifaz) ...

2 years ago | 0

| accepted

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

2 years ago

Answered
Is it possible to make a surface perfectly proper?
You can change interpolation method. zGrid = griddata(X(:),Y(:),Z(:),xGrid(:),yGrid(:),'v4');

2 years ago | 0

| accepted

Answered
How to convert all array values into negative ones?
You can do like. A = [2; 3; 5; -8; 9; 1; -1]; A = -(A.*A).^0.5;

2 years ago | 0

Answered
Utilizing the Euler Method
Change your code like this. May be work. x(1,i)= x(1,i-1) + h * dx1dt(1,i-1); % line 129 %%%%%%%%%%%%%%...

2 years ago | 0

Answered
how do i plot this transfer function?
You can create and plot transfer function with this way. s=tf('s') sys=10*s/((s+2)*(s+10)*(s+20)) bode(sys)

2 years ago | 1

| accepted

Answered
Index exceeds the number of array elements (1511).
May you use this method. . img = readimage(imds,perm(i)); imshow(img);

2 years ago | 0

Answered
Finding Rise Time from System Response
You can use 'stepinfo' function like below. A=[-1 1.6 0;0 0 1;0 0 -11.76]; B=[0; 0; 1]; C=[50 0 0]; D=zeros(1,1); Cont_pla...

2 years ago | 0

Answered
how can i fix this error?
You need to change x to x(i) and y to y(i) like this code. clc clear x (1)= 0; y (1)= 3; h = 0.05; for i = 1:10 y (i+...

2 years ago | 1

| accepted

Answered
Control systems: Labelling multiple plots dynamically based on parameter ?
You can use this. May be it will help you. s = tf('s'); Wn = 1; i=1; ti=linspace(0,20,200); for zeta = 0.1:0.1:0.9 T =...

2 years ago | 1

| accepted

Answered
Hidden layer and hidden neuron
Increase amount of hidden neurons to 100-200 and re-train. May be it will help.

2 years ago | 0

Answered
How to center x-axis in animatedline plotting
You can use this code. a=animatedline(); xlabel("Distance[m]") ylabel("Amplitude[V]") xlim([-250,250]) ylim([-2,2]) for ...

2 years ago | 1

| accepted

Answered
How to dra two lines on the image according to the points we receive from the user?
Can you try that code? Maybe it will work. If you want angled lines, I think you need some reference points for perspective. f=...

2 years ago | 1

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

3 years ago