Community Profile

photo

Matthew Worker


Last seen: 3 días hace Con actividad desde 2013

Estadísticas

  • First Review

Ver insignias

Content Feed

Ver por

Pregunta


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 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 1 año hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

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

más de 2 años hace | 0

| aceptada

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Cargar más