photo

John Medina


Last seen: oltre un anno fa Attivo dal 2018

Followers: 0   Following: 0

Statistica

Feeds

Visto da

Domanda


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') ...

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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?

circa 6 anni fa | 1 risposta | 0

1

risposta