Community Profile

photo

Darkhan Kenestegi


Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

7 years ago

Solved


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

7 years ago

Question


For loop problem.
I am trying to loop my calculations with a long data, but I do something wrong. size(a)=15 186 for i=1:size(a,1) bcn(i...

7 years ago | 1 answer | 0

1

answer

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

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

7 years ago

Question


how to refine data?
Let's say I have a data matrix as: a=[1,1,1,1,1;1,0,1,1,0;0,0,0,1,1;1,0,1,0,1]; Now, what I want is to get rid of th...

7 years ago | 1 answer | 0

1

answer

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years ago

Question


How to make for loop to make various mathematical operations. Using matrices.
clear all clc magic=magic(5); t = zeros(size(magic,1),1); pi = zeros(size(magic,1),size(magic,2)); for i=1:size...

7 years ago | 3 answers | 0

3

answers

Question


How to create a for loop to do sums of every values in the whole row?
I have a matrix lets say a=[1,2,3;9,8,7;4,5,6] I want to create a loop that will sum each row, like: sum(a(1,:)); The p...

7 years ago | 1 answer | 0

1

answer

Question


How to design a bandpass filter
I need to design a bandpass filter with sampling rate of 1kHz and bandpass from 1 to 200 Hz and then insert a signal my signal i...

8 years ago | 2 answers | 0

2

answers