Community Profile

photo

Maaz Madha


Last seen: 2 years ago Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Why are there negative PID coefficients?
Hi all The transfer function I have is a type 1 transfer function so it doens't respond to step response and has 0 steady sta...

2 years ago | 1 answer | 0

1

answer

Question


During flag=1 call must be a real vector of length 10 error
Hi all I have a nonlinear matlab code which is function[sys,x0,str,ts]=nonlinearxrae1_height(t,x,ui,flag,x0,s,ar,zf1,zf2,b,...

2 years ago | 1 answer | 0

1

answer

Question


State space feedback simulink error
Hi all I have a state space feedback model as shown below and when I run it I get an error Any comments would be appre...

2 years ago | 1 answer | 0

1

answer

Question


How to get a close loop transfer function from an open loop one?
Hi all The transfer function for my open loop system is 13.11 s^3 + 30.28 s^2 - 17650 s - 692.3 -----------------------...

2 years ago | 1 answer | 0

1

answer

Question


How to factorise functions of order 4 in matlab
Hi all I have MIMO transfer functions such as these and would like to factorise the denominator in the form of My cur...

2 years ago | 1 answer | 0

1

answer

Question


For loop for equation
Hi I have a vector of 42*1 values and need to implement two other vectors(l and u) of the same size. The two vectors have a s...

2 years ago | 1 answer | 0

1

answer

Question


How to convert text file to string?
I have a text file (containing text and not numbers) and I would like to convert it to a string so that it becomes like. I have ...

2 years ago | 1 answer | 0

1

answer

Question


How to denoise an image
I am trying to denoise an image and so far have done this As a res I = imread('noise1.png.png'); II=imread('Original.jpg');...

2 years ago | 1 answer | 0

1

answer

Question


How to convert from gray scale to RGB
I am coding a denoising filter for a colored image and from my understanding I need to convert the original picture into a greys...

2 years ago | 2 answers | 0

2

answers

Question


How to use linspace on a matrix
Dear all I have these values on a matrix and would like it to decrease from 0.8112 to 0.6(for the first column) evenly acro...

3 years ago | 2 answers | 0

2

answers

Question


M-ary PSK code from M-ary QAM code
Hi all. My professor has handed a code for the M-ary QAM % function for realizing M-QAM modulation % function simSerMQAM =...

3 years ago | 0 answers | 0

0

answers

Question


How to add values in a vector based on repeating values on another?
Hi I have two vectors of the same length and . I want it to be so that everytime a value in the first array repeats(for exam...

3 years ago | 1 answer | 0

1

answer

Question


How to deleter specific elements from a matrix without changing its shape
I have this matrix and i want to delete every number greater than 0.81 in each column but without changing the overall struc...

3 years ago | 2 answers | 0

2

answers

Question


How to split vector to columns based on index?
Hi all Hi all How do I split this vector in such a way that everytime the consecutive value is less than the one before th...

3 years ago | 1 answer | 0

1

answer

Question


How to approximate one array based on another array?
Hi all So I have an array and another array and I want to approximate the first array intp the second so that the the code ...

3 years ago | 0 answers | 1

0

answers

Question


How to approximate value to values in an array
Hi all So I have a bunch of values in an array(serial time number in seconds) and I want it so that everytime I run the clock...

3 years ago | 1 answer | 0

1

answer

Question


How to split an array based on the maximum number?
Hi How can I split this array so that the 3000s would be in a different array and the 2000s would be in a different one. I ...

3 years ago | 1 answer | 0

1

answer

Question


Setting up time and date
Hi I'm trying to set up a date and time where it reads from 1:00 today(as in today the time function not today today) till 00...

3 years ago | 1 answer | 0

1

answer

Question


Problem dividing matrix by vector
Hi I have a matrix of 20301*20301 and a vector of 20301*1 ...(after 201 iterations, so at cell 202 the numbers start.Before...

4 years ago | 0 answers | 0

0

answers

Question


Creating a vector from nested for loops
Hi So I basically want to create a column vector from two nested for loops Initially, i planned my code to be like fo...

4 years ago | 1 answer | 0

1

answer

Question


Getting NaN after division of matrix by vector
So for my assignment I had to form a matrix A and divide it by a column vector b to get the answer needed and plot it. Problem i...

4 years ago | 0 answers | 0

0

answers

Question


Index in position 1 is invalid error
n=(L/delta_x)+1;%%lecture notes 21/1/2020. Converts rectangle to a mesh m=(H/delta_y)+1; x=[0:delta_x:L]'; y=[0:delta_y:H]'; ...

4 years ago | 1 answer | 0

1

answer

Question


Saving data from nested for loop
Hi I want to store data from a nested for loop and this is my code %%Initialisation 1 delta_x=(2*pi)/100; delta_y=delta_x...

4 years ago | 1 answer | 0

1

answer

Question


Gauss Seidel Method problem
I have to write two codes one for Jacobi and one for Gauss Schiedel For the Gauss Schiedel one I coded clc clear ...

4 years ago | 1 answer | 0

1

answer

Question


How to count the lines crossing the y axis?
Hi. In my project I have to plot 50 lines randomly(length 3 and random angle) and to count the number of lines crossing the...

5 years ago | 2 answers | 0

2

answers