Réponse apportée
Hi. I want creat a tranfer function have parameter,but i don't know how to do it.help me pls
Hi super bad, have a look into the matlab function "tf": <https://de.mathworks.com/help/control/ref/tf.html> Kind regar...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
Making ramp and unit step function in MATLAB
Hello Steven Franzkowiak, one solution is to write a function that behaves as the plotted function. One can argue about the p...

plus de 8 ans il y a | 0

Réponse apportée
changing bar color to black and white
Hi Vahid_68, the function bar does not support your command. Colors have to be given as normalized values in the range [0..1]...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How to separate element in row with different length?
Hi azurighte, Taking the data you provided for your task, one possible solution is the following: a = { 9611013; 12811019...

plus de 8 ans il y a | 0

Réponse apportée
how to use matlab code to get a series between a discrete transfer function and a continuous function
Hi Tianze Wang, hybrid systems are not supported. You have to transfer the plant into digital domain. That is then a model of...

plus de 8 ans il y a | 0

Réponse apportée
How can I fix the "Subscript indices must either be real positive integers or logicals." I am getting the errors my j(k) and l(k). my program works when I change the range but i only get ending term, any point in the right direction would be helpfu
Hi Janvier Solaris, the main problem despite of posting non-executable code is the reference to e(k-2) for l(k) calculation. ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Get the msgid of a certain warning?
Hi Guanyu Wang: use the function warning with enabled verbosity to display extended warning messages (including suppression c...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
How can I get the position of a datapoint on a plot?
Hi Pal Szabo, that should do what you desired: x=[1:1:5]; a=rand*10; y=[2,a,3,5,4]; set(gcf, 'Units', 'Normalized',...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
How to implement a counter in simulink to increment in defined number of step size
Hi Shwetha Mangalore, from what I understand there are several ways to achieve what you desire. I try to sketch you two ways:...

plus de 8 ans il y a | 0

Réponse apportée
How would I extract the first and last nonzero numbers from this array?
Hi Brandon Fox: There are several cases that should be covered in case you want to create a robust function: # vector sta...

plus de 8 ans il y a | 1

Réponse apportée
Building a transfer function.
Hi Jason Gauthier, I do not see any troubles in constructing the transfer function you wrote above: Gp = tf(1, [1 10 0]);...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
How can I prevent questdlg bonking?
Hi geotocho, since questdlg() is using an uiwait-command to prevent the user from interacting with the window the only sugges...

plus de 8 ans il y a | 0

Réponse apportée
How to convert a script with call backs to uitable into function
Hi Snjeev Kumar, from the information you provided the easiest way to create a function would be function myFunctionName(...

plus de 8 ans il y a | 0

Réponse apportée
How to display Chinese character in gui table / command window
Hello kei hin, there is one possibility to display chinese characters by switching the default character set to UTF-8 as desc...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Creating an array of objects in a class
Hi Jeffrey, here my solution for your tree with leafs: *Tree.m:* classdef Tree properties leaves...

plus de 8 ans il y a | 1

Réponse apportée
Plotting a variable against loop iteration
Hi Alaa MAZOUZ, The marker-property of plot is by default 'none'. Choose a marker. x is - according to the presented examp...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
How to build a matrix like this
Hi Rui Zhu, another possibility: function [ A ] = SpecMatrice( n ) tic A = zeros(n); for ik = 1:n A(1:i...

plus de 8 ans il y a | 0

Réponse apportée
Plotting a spectrum-like figure
Hi Tahmid Chowdhury, From what you are describing you could have a look at contourf() <https://de.mathworks.com/help/matlab/r...

plus de 8 ans il y a | 1

Réponse apportée
How can I include membership function inside a piece-wise function?
Hi Kris, since you are using logical indexing, you must account for different sized vectors you want to write on (in your exa...

plus de 8 ans il y a | 0

Réponse apportée
How to simulate controller and plant without using simulink
Hi Windell: You can simulate the time response of dynamic systems to arbitrary inputs with lsim ( <https://de.mathworks.com/h...

plus de 8 ans il y a | 1

Réponse apportée
A waveform is generated in Matlab and then how can i export the same wave on to my IIR filter model created using simulink?
Hi, You could utilize From-File-Blocks ( <https://de.mathworks.com/help/simulink/slref/fromfile.html?s_tid=srchtitle> ). K...

plus de 8 ans il y a | 0

Réponse apportée
Plot Wavelet FFT in Hz
Hi Alexander, if you want to plot the Fourier spectrum of the wavelet you can apply the usual fft algorithm (described here: ...

plus de 8 ans il y a | 0

Réponse apportée
Plot Wavelet FFT in Hz
Hello Alexander, if you want to display wavelet analysis in terms of frequency one common way is to use the center frequency ...

plus de 8 ans il y a | 0

Réponse apportée
Reading selected characters from a cell
Hi Marine Sachel, Just to show you one possible way to exchange parts of strings, here a solution for your 1st row and 1st co...

plus de 8 ans il y a | 0

Réponse apportée
fwrite( ) displays a character incorrectly
Hi usr5, the issue addressed is the precision parameter (https://de.mathworks.com/help/matlab/ref/fwrite.html). fwrite(1,...

plus de 8 ans il y a | 1

Réponse apportée
Latex interpreter with sentences and symbols
Hi Aparicio Nieto, as I see the latex interpreter cannot interpret your title command. The "$"-signs indicate a math-environm...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
Can I modify inputs for pushbutton callback
Just to add a solution for external function use (in case you want to reuse external functions instead of rewriting nested ones)...

plus de 8 ans il y a | 0

Réponse apportée
Create timeseries from timeseries
Hi Pankaj, if I understand your question correctly, the quick way might be to utilize the methods provided by timeseries clas...

plus de 8 ans il y a | 0

Réponse apportée
Calling a superclass method from any method
Hi Zangdaar, I am not sure if I got your point correctly. In my understanding you have two base classes where class_B has to ...

plus de 8 ans il y a | 0

Réponse apportée
Plot many curves in one plot using for loop
Hi Benjamin, the following code snippet works as you would expect it to do: % create data for ik = 1:4 x...

plus de 8 ans il y a | 0

Charger plus