Community Profile |

University teacher

Speciality: Automatic control

Hobbies: Football, Music and Chess.

Professional Interests: Automatic Control

Top 1% contributor

**5,850**Contributions

A=[0.50 1 0.25 1 0.80 2 0.10 1 0.60 1 0.50 2 0.25 2 0.50 2 0.4...

accepted

3

Answered 1 year ago

I think you are doing something wrong by hand. The result 6 -12 3 16 5 11 9 12 0 is c...

accepted

3

Answered 2 years ago

b=reshape(a,2,[])'

accepted

3

Answered 2 years ago

for ii = 1:5 set(handles.(sprintf('chk%d',ii)),'value', 1) end

accepted

3

Answered 3 years ago

29 downloads

3 years ago

%add this code A= '0 1 1 1 0 0 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 0' A= A(find(~isspace(A))),

accepted

3

Answered 3 years ago

syms q x=[2*q q^2 5*q] [i,j] = find(x==q^2) The result is i = 1 j = 2

accepted

2

Answered 3 months ago

cellfun(@(x) reshape(x,[],16),your_cell,'un',0)

accepted

2

Answered 3 months ago

A=double(B) fprintf(write,'%e',A);

accepted

2

Answered 3 months ago

x={'words',10,20,30,'more words'} out=cellfun(@num2str,x,'un',0)

accepted

2

Answered 4 months ago

max(a(1:50))

accepted

2

Answered 9 months ago

x=[0:0.1:10]; x1=5; plot(x,2*sin(x),x,5*sin(x),x,cos(x)); y1=get(gca,'ylim') hold on plot([x1 x1],y1)

accepted

2

Answered 12 months ago

This is correct 5==1 The result is 0 0|2 the result is 1

accepted

2

Answered 1 year ago

for k=setdiff(1:10,[5 7])

accepted

2

Answered 1 year ago

Use str2func function str=input('your function','s') f=str2func(str)

accepted

2

Answered 1 year ago

~mod(A,1)

accepted

2

Answered 1 year ago

diff(A)

accepted

2

Answered 1 year ago