Community Profile

photo

Lubos Plechac


Last seen: 7 months ago Active since 2021

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Max vector find without function max
I have problem with finding max number in vector without max function, I know that I can use max but without that? Normally I ...

2 years ago | 1 answer | 0

1

answer

Question


Need matrix or vector with 1,0,1,0,1,0.........
clc;clear n = 5 A = ones(n) a = reshape(A,1,25) % I reshape matrix to vector I think that is easy to understand. I dont know...

2 years ago | 2 answers | 0

2

answers

Question


A function that counts the number of zeros in a vector
D = ones(1,20); for i = 1:20; if mod(i,2) == 0; D(i) = 0; end end --------- D = [ 1 0 1 0 1...

2 years ago | 3 answers | 0

3

answers