photo

John Medina


Last seen: mehr als ein Jahr vor Aktiv seit 2018

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Frage


Why do I get Subscript indices must either be real positive integers or logicals using this code? It appears that the error is in the last two lines. How can I solve this?
clear close all %Set up movie fig = figure; %movien = avifile('Vicsekmovie','FPS',3,'compression','none') ...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Hi!! What is wrong in my code?
syms x y t 0<=t & t<=1; eqns = [x^2 + y^2 -1 == 0, x - t*cos(0)==0, y - t*sin(0)==0]; vars = [x y]; [solv, solu] = solv...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can you determine if a vector in R3 belongs to a three dimensional region with its conditions?
For instance v=(1,2,3) satisfices x^2 + y^2 + z^2 < 1?

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort