Community Profile

photo

Ted Baker


Last seen: alrededor de 3 años hace Con actividad desde 2019

Estadísticas

  • Thankful Level 4

Ver insignias

Content Feed

Ver por

Pregunta


Convert Array of Float to comma delimited string
Hi I would like to convert an array of floats to a single string, with commas separating the numbers, as below: data = [1 2 3 4...

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

1

respuesta

Pregunta


How Can I Append Multiple Lined Header to a CSV File?
I am looking to create a csv file with the date/time, variable names, and a table of data - something like: Date, 01/11/20 A, ...

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

1

respuesta

Pregunta


How do I flip an image without affecting the Y Axis?
I'm trying to plot the example file using the following code: close all; input = 'example.txt'; data = readmatrix(input); fi...

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

1

respuesta

Pregunta


How can I create a variable number of arrays and plot in the same image?
Hi, I'm trying to plot some txt files which have two columns, 'a' and 'b' as an image. 'a' is a variable that always counts fro...

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

2

respuestas

Pregunta


Purpose of Upsampling in QPSK Tx
Hi, I am working through a QPSK transmitter example here: https://uk.mathworks.com/help/supportpkg/usrpradio/examples/qpsk-tra...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Creating a Tabular Legend
I would like to create a legend with an additional column for a number to be inserted next to the variable name as follows: H...

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Using name of saved matrix
Hi, I'm trying to plot multiple outputs from a script on the same graph. As it stands, my script outputs the array I want to pl...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Matching array dimensions when importing csv
Hi I'm trying to match the dimensions of two arrays so i can plot them. One is longer than the other, so I am trying to interpol...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Remove last row from csv using csvread
Hi, I have the following code to read all the csv files in a directory. close all; csvfiles = dir('*.csv'); for file = cs...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why do I see no Carrier Modulation Component?
Hi, I'm trying to simulate some amplitude modulation using an example from "The Art of Electronics (Horowitz)". the author says ...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to centre textboxes on the plot outline?
Hi, I'm trying to create a plot with a couple of textbox annotations. Ideally, I'd like the text boxes to be centred on the boun...

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

1

respuesta

Pregunta


How to specify date ticks on plot
Hi, I'm trying to plot the attached csv file, but i am having problems creating a tidy x axis labels. Ideally, I would like a l...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to Set Specific Arg in Function
Hi, I'm trying to use th function give at this link: https://uk.mathworks.com/matlabcentral/fileexchange/47165-heatscatter-plot...

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

1

respuesta

Pregunta


Why is 'print' creating a csv file?
I'm trying to save a plot as a high dpi png, however, matlab keeps svaing the output as a csv. Why is this? My code is as follow...

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

1

respuesta

Pregunta


How to not plot a single file in a directory?
Hi I am wanting to compare every file in a directory with one specific file in the same directory for a closest match, say compa...

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

1

respuesta

Pregunta


How can I convert all string cells in a table to numerical values?
Hi I'm trying to import a text file into a table format. The text file is separated by single spaces, which I have included as a...

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

1

respuesta

Pregunta


How to combine array columns to form complex number?
I'm trying to combine two columns from two arrays to form a complex number. I know I can create a complex number using the compl...

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

1

respuesta

Pregunta


How to swap array element from two arrays conditionally
I'm looking to plot a matrix using data from two arrays. If the second array has a number which is not zero in an element, this ...

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

2

respuestas

Pregunta


How to Check if Element of Array Exists?
I have an array of strings which varies in size depending on the number of words in a file name. One file might result in an arr...

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

1

respuesta

Pregunta


How to reference entire substring as a string?
I have an array of strings in a 4x1 cell format, called textarr, as below: ExA ExB ExC ExD.exe I would like to remove the ...

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

1

respuesta

Pregunta


Looking for a Surface - like plot
I'm wanting to plot a 2d array in a sort of heatmap form, with different colours representing different valuess, similiar to thi...

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

1

respuesta

Pregunta


How to plot arrays of different sizes using interp1?
Hi, I'm trying to compare a simlation result against a measured result, however I'm having difficulty aligning the two sets of ...

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

2

respuestas

Pregunta


Why do I need to declare a variable inside a nested 'for' loop?
Hi, I have some code, below, which fails on the last line before both 'end's (T_noise_out(it) = ....). The Command Window tells ...

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

1

respuesta

Pregunta


How Can I White Space From Both Axis in Surface Plot?
Hi I'm trying to remove the whitespace around some surface plots I have made: I have tried using linspace in both dimensions,...

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

1

respuesta