Community Profile # Matthew Worker

Active since 2013

#### Statistics

• #### Content Feed

View by

Question

Create multiple copies of a .txt file according to N x 1 array
I have an N by 1 array that contains random integer values, say A = [101, 790, 477, ... , 999]. I also have a text file, say MyF...

6 dagen ago | 1 answer | 0

### 1

Question

Solve a group of Symbolic Equations
syms A B alpha beta % variable syms R1 R2 C1 C2 % constant eqn1 = A + B == 1/(R1*C1) eqn2 = -A...

7 maanden ago | 2 answers | 0

### 2

Question

How to present (x(t))'', (θ(t))'' in symbolic version matlab?
There are six equations below (M, m, g, b, L, J are constant): M*(x(t))'' = F(t) - N(t) - b*(x(t))' J*(θ(t))'' = P(t)*sin(θ(t)...

8 maanden ago | 1 answer | 0

### 1

Question

how do I filter noise and background objects from images?
i have images that have these cylindrical objects that i want removed before doing analysis? How do I remove them? Thank you

8 maanden ago | 3 answers | 0

### 3

Question

Optimization: Unable to perform assignment because value of type 'optim.problemdef.OptimizationExpression' is not convertible to 'double'.
Hello, I would like to perform a multiplication with a decision variable Yi. When doing so, I get the following error: Unabl...

9 maanden ago | 2 answers | 0

### 2

Question

Why I'm I getting this error when I try to call the function myfourier in another m file?
myfourier.m file function [a0 an bn fs] = myfourier(f, flim, N) syms t syms N T = flim(end)-flim(1); w0 = 2*pi/T; fs = 0.0...

9 maanden ago | 1 answer | 0

### 1

Question

Iterative code sequence error
f(i) = f(i-3)*f(i-1) - f(i-2) using f(1) = 1, f(2) = 1 and f(3) = 1. function f = iterativeSequence(n) f(1) = 1; f(2) =...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

How to add max and min data label of plot in matlab with help of annotation?
I want label max and min data label with use of annotation on gh bottom,middle and top plot to show the values of max and min. ...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

Fit and display multiple gaussians on a data set
I have a test data set (attached) that I want to display with two closely spaced gaussians. An example of how the data should lo...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to publish current m file output ONLY to pdf via inline code? (AKA, not via the Export function)
Hi, I am creating a MATLAB program that will read in a data file and provide feedback based on the data within the file. (I am ...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How do i read 60 .txt files into matlab?
I am trying to read experimental data in .txt format into matlab but so far, i get the following error message: Index in p...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to randomly propagate 100 random targets with random headings (uniformly sampled over [0, 2π])
So I contructed a 2048x1024 pixel background image with the signal normally distribution at mean 0 and standard deviation 5 (arb...

meer dan een jaar ago | 1 answer | 0

### 1

Question

put two matrices in one matrix, one will take the odd column and the other one take the even column.
A is a matrix 4x5 B is a matrix 4x5 C=[A B] 4x10 .. A and B will be combined in a matrix C where A take the odd column and B ...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Sum 2 Matrices and take the average value of their summation and store them in another Matrix with the same dimension.
% in this code, I import 2 text files, C_Total_1 and C_Total_2. I want to take the average of the sum of these two variables, th...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Sum 2 Matrices and take the average value of their summation and store them in another Matrix with the same dimension.
% in this code, I import 2 text files, C_Total_1 and C_Total_2. I want to take the average of the sum of these two variables, th...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

The left and right sides have a different number of elements
please help me fix the error~~~ this is my code and %% 3. Fourier descriptor %① Make the matrix above. %Find the positio...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How do you write this "| "symbol in MATLAB?
How i would write that symbol in MATLAB? i left it out and even tried'/' but i keep getting warnings within the script ...

bijna 2 jaar ago | 2 answers | 0

### 2

Question

Remove the repetitive items in matrix
The following codes are some basic settings, you can skip this section and directly see the problem section below. clear clc ...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Image segmentation but 'edge' does not work
i need this result, to outline it in red but i keep getting this error message. Error using activecontour>parse_inputs (lin...

bijna 2 jaar ago | 2 answers | 0

### 2

Question

I want BER instead of SNR in the x-axis .. What is the relation that changes SNR to BER
This is the value of Signal to noise ratio ..... SNR = -20:6:10; %Signal to Noise Ratio I want BER instead of SNR in the x-ax...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Looking for a simulink cogeneration (combine Heating and power) model.

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Why does my screen go black?
My region filled image and skeletonized image just appears black I fill in all the bones using the function below %% 3. Region...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Why does dilate and erode images produce black images?
Did i do something wrong with nhood variable? %% 1. Dilation and Erosion %a. Apply dilation and erosion to “lung.jpg” using 3x...

bijna 2 jaar ago | 2 answers | 0

### 2

Question

What is '1butter' in this Wiener Filter code?
MATLAB doesnt recognise the 1butter in this code of Wiener Filtering on an image in MATLAB

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How to turn code into a class?
I coded the program below for frequency domain filtering and functions well. I have to use it repeatedly to apply different fi...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Frequency Domain Filtering by Convolution Theorem
So the program works but i get warning messages, i attached the imag as well %% 4. Perform frequency domain filtering by Convol...

bijna 2 jaar ago | 1 answer | 0

### 1

why is my difference image black?...

bijna 2 jaar ago | 0

| accepted

Question

why is my difference image black?...
the program works but my difference image is just black...did i do something wrong? or is there a way to make it visible? %% ...

bijna 2 jaar ago | 2 answers | 0