Question

how to make the plot change color atomatic ?

for exmaple this is my code : clc;clear all;close all; f=[10 50 100]; T=1./f; for i=1:length(T...

plus d'un an ago | 1 answer | 0

Question

how generate white noise using data acquisition ?

hello I want to see white noise (using command randn) in real scope . Is it even posibble using data acquisition , using the p...

plus d'un an ago | 0 answers | 0

Question

how to make a for loop for a binary number ?

I want to build a program that converts from binary to decimal (I know that there is command for this , I want to build it my se...

plus d'un an ago | 1 answer | 0

Question

how to round 10.5 to 10 ?

hello I want to round down from 10.5 to 10 is there a command for this operation ?

plus d'un an ago | 2 answers | 0

Question

How to find the point(s) when two plot curves cross?

Hello. I want to plot these 2 plots: y_1=a*x+b; y_2=a*(x^2); and find to point where they meet? The exact values ...

plus d'un an ago | 1 answer | 0

Question

how to split num to str ?

hello I want to to split a number to str . for exmaple if I write y=-x-2 then I want to get coffient of x coffient_of...

plus d'un an ago | 1 answer | 0

Question

why is my output does not change ?

hello I want to write a code for shifting a signal : so lets suppose I have this signal : x(n) and i want to move it like this ...

plus d'un an ago | 0 answers | 0

Question

make function to shift discrete signal

hello I am currently studying DSP and using matlab . I build a function that shifting signals and the out put of this function...

plus d'un an ago | 0 answers | 0

Question

how to inverse signal in matlab ?

hello in my exmaple i have this 2 signals : x=[3 11 7 0 -1 4 2] n1=-3:1:3 h=[ 2 3 0 -5 2 1] n2=-1:1:4 and i need to plo...

plus d'un an ago | 1 answer | 0

Question

matlab OOP how to transfer value from properties to methods ?

Hello I am trying to learn progrmaing OOP in Matlab . How ever i dont have exprienct with this kind of procdiel working . if ...

plus d'un an ago | 2 answers | 0

Answered

Signal addition {x1(n)}+{x2(n)}={x1(n)+x2(n)}

if could enter this link ,this is the book I am using and you could see what I am talking about (page 45) http://research.iau...

Signal addition {x1(n)}+{x2(n)}={x1(n)+x2(n)}

if could enter this link ,this is the book I am using and you could see what I am talking about (page 45) http://research.iau...

plus d'un an ago | 0

Question

Signal addition {x1(n)}+{x2(n)}={x1(n)+x2(n)}

hello I am currently studying DSP in matlab from a book . and in the book the is signal addition {x1(n)}+{x2(n)}={x1(n)+x2(n)...

plus d'un an ago | 1 answer | 0

Question

matlab app designer how to save the code and not only the UI figure?

how do I save the code and not only the UI figure?

plus d'un an ago | 0 answers | 0

Question

why is the "pretty" command does not work in the script,but works when I press it in the command windo?

hello I have this command syms A D k x_0 eqn_1=A*(exp(k*x_0)-exp(-k*x_0))==D*exp(-k*x_0) eqn_2=-k*D*exp(-k*x_0)...

plus d'un an ago | 1 answer | 0

Question

how to make if statement repeat only once ?

hello I am currently doing a project with matlab and simulink. In my project I am taking current samples from matlab function...

plus d'un an ago | 1 answer | 0

Answered

how to plot number in legend ?

Hi I have other question , how can I write "K=1" and not only "1" ?

how to plot number in legend ?

Hi I have other question , how can I write "K=1" and not only "1" ?

plus d'un an ago | 0

Question

simulink -dervitive in the s domain

hello I have a simple question . if for exmaple I use PID controle and its transfer function is : G1=K*(1+(R/S)+T*S) and ...

plus d'un an ago | 1 answer | 0

Question

how to convert hex array to decimal array ?

hello i want to convert hex number to dec for exmaple : a=hex2dec('d2') now i want an array of hex numbers for exma...

plus d'un an ago | 1 answer | 0

Question

how to send DATA from UART to MatLab ?

hello i am currently using an electornic board(Cypress) . In this board i get samples and then send it to UART . how can I send ...

plus d'un an ago | 0 answers | 0

Answered

how to plot at^2+bt+c=0 in simulink ?

thank you but what I did is using Laplace transform and basically putting 3 integers in series .

how to plot at^2+bt+c=0 in simulink ?

thank you but what I did is using Laplace transform and basically putting 3 integers in series .

plus d'un an ago | 0

Question

how to plot at^2+bt+c=0 in simulink ?

hello i want to plot this parbula with respect of the time domain in simulink how do I do it ? I know how to do it in matlab...

plus d'un an ago | 2 answers | 0

Question

learning how to program using object oriented

hello I want to learn how to use object oriented programming, how ever i cant really find a good Manuel for "dummies" . Could so...

plus d'un an ago | 0 answers | 0

Question

how to plot number in legend ?

he this is my code for a=[ 1 3 5] hold on; disp('a') H1=tf([ a],[3 4 ]) step(H1) end I want that...

plus d'un an ago | 2 answers | 0

Question

ode 45 giving the wrong solution

hello i am trying to use ode command to solve this eqution using ode command : function [ x_diff_ode ] = x_ode_method( t,x ...

presque 2 ans ago | 1 answer | 0

Question

simulink-pulse genartor

heloo i am using pulse genartor ,how ever I want the pulse to start from zero and not from 1 . here a pic of my pulse genartor. ...

presque 2 ans ago | 0 answers | 0

Question

how to write lot of inputs in a function

hello i have this call for function in my main program : [A_a,A_b,B_a,B_b,C_a,C_b]=basic_matrix_numeric(C1,C,R,R2,R_C1,R...

presque 2 ans ago | 2 answers | 0

Question

how to pass varibles from main code to other function with out using gloval varible or input arguemnts ?

hello I need to use in my code command that called ode 45 ,how ever i have main code and it this main code i write all my data a...

presque 2 ans ago | 1 answer | 0

Question

how to make a global function ?

In my program there is is a function that stores all the values of my circuit,how ever i want to make those values golobal (mean...

presque 2 ans ago | 1 answer | 0

Question

cant mutplaye matrix by vector

heloo i have this code clc; clear all; R=5; C=100e-6; L=10e-3; U=5; A=[0 1/C;-1/L -R/L]; x=[...

presque 2 ans ago | 2 answers | 0

Answered

how to add colmun to vector

clc; clear all; x=[0;0] for i=1:5 x(:,i)=i end your wat is too complicated ,here is the way i found...

how to add colmun to vector

clc; clear all; x=[0;0] for i=1:5 x(:,i)=i end your wat is too complicated ,here is the way i found...

presque 2 ans ago | 0