Answered
Add a label to a minor tick, in an inset plot
% create a plot x1 = linspace(0,1000); y1 = sin(2*pi*x1); hF=figure; ...

6 months ago | 1

| accepted

Answered
How to get the values of the XAxis Minor Ticks (of an inset plot)
@Gayathri recognized the underlying problem which can be very confusing because it is so erratic in what does/does not get updat...

6 months ago | 1

Answered
Can plot markers be specified in an array?
Use the multiple-handle option with set; there are examples there. NOTA BENE the property name and the properties must be pas...

6 months ago | 1

Answered
Count number of nucleotide bases (letters) in file with multiple entries
I'll convert the comment to an Answer because I believe it is/will be part of the required solution and is probably easier to cl...

6 months ago | 1

Answered
Open and read unique spectrum file .spc
L=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]; numel(L) :The fir...

6 months ago | 0

| accepted

Answered
Reading Bytes from Arduino to MATLAB
I dunno how to fix the Arduino side, but the data bytes you're returning aren't the right values for the single float values 1 t...

6 months ago | 1

Answered
Combined 2 files .dat with different size
"but i want to combine 2 files in one file .dat the Problem it's the Two files has different size" You already told us that, b...

6 months ago | 1

| accepted

Answered
Increasing the line width of box plot whiskers
... hBx=findobj('Tag','boxplot'); % the boxplot group handle hBx=find(hBx.Children,'-not','Tag',...

6 months ago | 0

Answered
uitable copy function allowing for numerical values of mixture of of numbers and chars.
I'd go at it a little bit differently, although I just discovered the clipboard only takes one line of text so one does have to ...

6 months ago | 0

| accepted

Answered
While cycle with conditions never ending
while ~(Dice1==6 & Dice2==6) The expression as written first does AND operation of the two numeric, not logic, values and t...

6 months ago | 0

Answered
boxchart - different box width according to number of data points
I'll add a shorter, cleaner version as well...go ahead and accept the answer since it is the basis for the result desired if you...

6 months ago | 0

| accepted

Answered
boxchart - different box width according to number of data points
With sufficient perserverence it looks as though should be able to make boxchart work...the doc had an easy example to illustrat...

6 months ago | 0

Answered
How to locked/unlocked cells in an Excel file?
You'll have to use Excel COM. The <Link to Excel Locked Property> gives the syntax; you merely set the range .Locked property t...

6 months ago | 2

Answered
Interpolating between columns for an index
X=[550 750 950]; Y=[1 2 8]; % the interpolation table data xy=[550 22;580 21;650 20;623 28;850 14]; % the da...

6 months ago | 0

Answered
How to use stacked bar charts to draw multiple confidence intervals
coef = [-0.0186 0.0057 -0.0067 -0.0007 0 -0.0295 -0.0517 -0.0651 -0.0689 -0.0862 -0.0866]; Lower_Bound = [ -0.061944 -0.051528 ...

6 months ago | 0

Answered
Crosstab by using the same input for both arguments
"@Sim - if what I wrote is correct..." Your statements above were written under the null hypothesis that "both KSTEST2() and ...

6 months ago | 1

Answered
Why do I get Empty Plots during Optimization?
Per the above comments, at least a start would be something more like... function state = gaPlotRangeND(options, state, flag) ...

6 months ago | 0

Answered
Unable to resolve the warning on ill conditioned Jacobian
M = readmatrix('datai2j3.txt'); %fPar = sigm_fit_base_e(M(:,1),M(:,2),[],[0 0.2845 9.88 -1],1) fPar = sigm_fit_base_e(M(:,1),M...

6 months ago | 0

Answered
Hi I have a query I removed the harmonic to preserve the fundamental but still fundamental at 1MHz is also filtered can anyone tell m e.
% Load the frequency domain data folder='';% = 'C:\Users\haneu\OneDrive\바탕 화면\date\New folder (2)'; filename = '270mvp.csv'; ...

6 months ago | 0

| accepted

Answered
Export a large table to a pdf file
The table isn't intended to be an output formatting tool; you can try exportgraphics and see if can get anywhere, but you may ne...

6 months ago | 0

Answered
Bar chart from Excel with hidden columns
warning('off','MATLAB:table:ModifiedAndSavedVarNames'); % turn off annoying nag message tA=readtable('Auswertung - ...

6 months ago | 1

Answered
I am trying to setup a serial communication with a optical power meter and I am not able to read the returned string.
"I cant turn it off on the keypad...." I'd be pretty sure there is a place in the menu system given that the vendor manual says...

6 months ago | 0

| accepted

Answered
Bar chart from Excel with hidden columns
opt=detectImportOptions('yourfile.xlsx'); % base import options object opt.SelectedVariableNames=opt....

6 months ago | 0

Answered
Import numpy and scipy (maybe through Anaconda) in Matlab
No joy regarding Python, but to get to the desired end result, see the <FEX Submittal> that returned the identical test statisti...

6 months ago | 1

Answered
Call a Python function inside a MATLAB loop
Using <FEX Submittal> with your example dummy data, it generated the exact same statistic without all the mucking around with Py...

6 months ago | 1

Answered
Size of the left side different from the right side
function [PersonalSPQ,PersonalSPAns] = PersonalSPQforResponder(SPAnsVector) PersonalSPQ=zeros(1,6); PersonalSPAns=zeros(1,...

6 months ago | 0

Answered
How to change xlim to specific range only?
a=readmatrix('output1.xlsx','Sheet','final graph'); % xlsread has been deprecated cols2plot=[2:5]; ...

6 months ago | 1

Answered
Figure changes during export
exportgraphics(ax,output_filename); plot([post_x(f),pext(h,1)],[post_y(f),pext(h,2)],'r-') The exportgraphics call is ...

6 months ago | 0

| accepted

Answered
How to receive an full binary data using mqtt callback function
mqttclient and subsequent subscribe shows the callback function is to read the subscribed-to channel and the input function is a...

7 months ago | 0

Load more