Community Profile

Last seen: 16 giorni ago Active since 2019

#### Content Feed

View by

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

circa un mese ago | 1 answer | 0

### 1

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

circa 2 mesi ago | 1 answer | 0

### 1

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

circa 2 mesi ago | 1 answer | 0

### 1

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

circa 2 mesi ago | 2 answers | 0

### 2

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

9 mesi ago | 2 answers | 0

### 2

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

10 mesi ago | 0 answers | 0

### 0

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

11 mesi ago | 1 answer | 0

### 1

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

11 mesi ago | 2 answers | 0

### 2

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

11 mesi ago | 1 answer | 0

### 1

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

11 mesi ago | 0 answers | 1

### 0

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

12 mesi ago | 1 answer | 0

### 1

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

12 mesi ago | 1 answer | 0

### 1

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

circa un anno ago | 1 answer | 0

### 1

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

circa 2 anni ago | 0 answers | 0

### 0

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

circa 2 anni ago | 1 answer | 0

### 1

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

circa 2 anni ago | 0 answers | 0

### 0

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]'; ...

circa 2 anni ago | 1 answer | 0

### 1

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

circa 2 anni ago | 1 answer | 0

### 1

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

circa 2 anni ago | 1 answer | 0