Community Profile

photo

Timothy Nsubuga


Actif depuis 2019

Statistiques

Content Feed

Afficher par

Question


Can anyone tell me why this function call : [x, ithist] = broyden(f,x0); within my script says x is undefined? broyden.m is supposed to calculate and output x. Am I supposed to define it in my script, because that doesn't seem right or make sense. An
%************************************************************************* %%This script will solve for ys and ts assuming the ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


This is Broyden.m I found. I have a system of 3 functions and 6 unknowns, I think this function is meant to solve 1 unknown per equation or am I not coding my eqns() function corrrectly?(in comments)
function [x, ithist] = broyden(f,x0,opt,bounds) % Solve system of nonlinear equations by Broyden's method % Broyden's method ...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


How can I sort the filenames in order given by dir()? I cannot turn a structure into a character array which means I cannot use sort, any tiips?
function frstarrv() File_names = dir('*.csv'); %attain every waveform in the event folder h = char(File_names); j...

presque 5 ans il y a | 2 réponses | 0

2

réponses

Question


Anyone know how I can improve my code and create the following equation? I only have the signal and image toolboxes
%************************************************************************* %%This fucntion will store transducer coordinates ...

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


I want a label for each plot but my code to do so is not working....any tips?
%************************************************************************* %this function plots the first amplitude and arrival...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


Anyone have any tips to improve my code for findpeaks() so that I get only the first big peaks for each graph like those in transducers 10,13 and 1 but only one of them per graph? I want the first arrival time. Thanks.
%************************************************************************* %%This fucntion will graph waveforms and their hilb...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


How come findpeaks() is giving me the error: Error in findpeaks (line 136) = parse_inputs(isInMATLAB,Yin,varargin{:}); I want to get the first peak of an envelope I made...
%%This fucntion will graph waveforms and their hilbert transform from one %%waveform .csv file %%must add labeling for first p...

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


Is it possible to plot several graphs with separate axis on the same figure? I want to compare different waveforms in one figure.
function g = graphData(file) table = readtable(file); %read the data into a table xr = table2array(table); %convert the ...

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


what does this error message mean? readtalble isn't working and when I included ops it at changes my data from my text file. Why wont it format it exactly as the text file but in a table?
function frstarrv() % %I want to read the line display and look at the first event and use the % %starting times to locate and...

presque 5 ans il y a | 1 réponse | 0

0

réponse

Question


how can I open any file with a .TXT file, read and print the data correctly?
function graphData = graphData() %This fucntion will make graphs comparing relevant parameters from my %output.TXT files %o...

presque 5 ans il y a | 1 réponse | 0

1

réponse