Community Profile

photo

Matthew Worker


Last seen: 7 dagen ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • First Review

View badges

Feeds

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

7 maanden ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 2 answers | 0

2

answers

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 3 answers | 0

3

answers

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

meer dan een jaar ago | 2 answers | 0

2

answers

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 2 answers | 0

2

answers

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 2 answers | 0

2

answers

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 2 answers | 0

2

answers

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Answered
why is my difference image black?...
https://www.mathworks.com/matlabcentral/answers/1467816-why-is-my-difference-image-black#comment_1770511

meer dan 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? %% ...

meer dan 2 jaar ago | 2 answers | 0

2

answers

Question


Why do I keep getting a black image when i dont use []?
What is the difference between using [] with imshow and dividing an image by a scalar before using imshow fxn? Is my code wrong...

meer dan 2 jaar ago | 2 answers | 0

2

answers

Load more