Réponse apportée
Constant in a transfer function
The tf function doesn't support what you want (I'm not 100% sure, someone could correct me), you must define the b value before ...

environ 15 ans il y a | 2

Réponse apportée
Generate random points inside a circle
function [x y]=cirrdnPJ(x1,y1,rc) %the function, must be on a folder in matlab path a=2*pi*rand r=sqrt(rand) x=(rc*r)*...

environ 15 ans il y a | 5

| A accepté

Réponse apportée
How can I store an equation as a variable?
%create the functions XT=inline('t./4+3') YT=inline('3*t./2-8') ZT=inline('t') %for example if you want to plot them...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Computing the sum of each column in an image
[X,map] = imread('trees.tif'); %example of an image col=1:numel(X(1,:)); %create a column vector for the next code line C...

environ 15 ans il y a | 0

Réponse apportée
Calling executables from MATLAB
You can send commands to your OS command line, here's one example that runs in MS Windows 7, don't know about other OS but might...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Help splitting a matrix based on a specified column.
A=[1 12 0 2 4 0 3 8 0 4 1 0 5 9 0 6 5 0 7 3 0 8 1 0 9 1 2 10 12 0 11 11 12 12 10 0 13 3 4] B=A(find(A==0)) C=A(find(A))

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Index out of bounds error when working with data imported from excel
I believe that the error is in the line depth=[1:1:max(data(:,1))]'; because max(data(:,1)) will give you the v...

environ 15 ans il y a | 2

| A accepté

A soumis


LinTestPJ
psychology experiment that measures how people map numbers to space

environ 15 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail

A soumis


SpSpj
Just a quick and dirty example of a GUI that starts, pauses and stops a loop

plus de 15 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail