Community Profile

photo

Kevin


Last seen: 5 månader ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to make pairs of 1s and 0s in an array?
close all clear clc m = 5 %amount of 1s k = 13 %length of array n = k-m %amount of 0s rhythm_0 = [repelem(0,n)] rhyth...

5 månader ago | 1 answer | 0

1

answer

Question


How to generate a rhythm that is based on an algorithm in matlab?
I want to generate a rhythm in Matlab that consists of 1s and 0s, but I don't know how to start. So I know that I have a vari...

6 månader ago | 2 answers | 0

2

answers

Question


How to fill a 2D plot?
close all clear clc hold on grid on P_outside = ([0.1+0.6i,0.3+0.6i,0.4+0.8i,0.3+i,0+i,0+0.5i,0,0.1+0i,0.1+0.6i]); P...

8 månader ago | 1 answer | 0

1

answer

Question


Can someone explain what's wrong with my formula?
close all clear clc syms t omega = 2:2:6 I = 10 C = 0.05 V = (-I./omega.*C)*cos(omega.*t) fplot(V) What is wron...

9 månader ago | 2 answers | 0

2

answers

Question


How to generate a rhythm in Matlab?
I want to generate a rhythm in Matlab that consists of 1s and 0s, but I don't know how I should go about it. So I know that I h...

10 månader ago | 1 answer | 0

1

answer

Question


Can only find one double angle formula of cos(2x).
close all clear clc syms x expand (cos(2*x)) ans = 2*cos(x)^2 - 1 That is one of the three double angle formulas f...

10 månader ago | 1 answer | 0

1

answer

Question


Multiple answers from solve
close all clear clc AB=180 AO=60 BO=200 syms alpha eqn1 = BO^2 == AB^2+AO^2-2*AB*AO*cosd(alpha) eqn2 = solve (eq...

10 månader ago | 1 answer | 0

1

answer