Respondida
Startup On Network Drive Install
Well, I don't know exactly how or why, but the symptoms have now gone away -- I guess a couple restarts and resaving the default...

alrededor de 6 años hace | 0

Pregunta


Startup On Network Drive Install
This may be futile here, but I'll give it a go before bugging TMW Tech Support... I'll begin with the caveat I really don't fol...

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

2

respuestas

Respondida
changing the date format in matlab
>> dt=datetime(ds(1:10),'InputFormat','dd/MM/yyyy','Format','yyyy''Q''Q') dt = 10×1 datetime array 1947Q2 1947Q3 ...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to display text in a plot as scientific number
Use a format string to create specific format desired... >> sprintf('%.2e',pi*1E6) ans = '3.14e+06' ergo, use text(x,y,...

alrededor de 6 años hace | 0

| aceptada

Respondida
Identifying and keeping duplicates but with a suffix
OK, this isn't complete, but is probably the simplest way to build something to do what you'd like -- it would need to be refine...

alrededor de 6 años hace | 0

Respondida
Identifying and keeping duplicates but with a suffix
OK, that helps...actually, that's not too hard and even easier than the grouped solution -- I don't quite follow what your data ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Insert lines in grouped bar plots
Good start but mixed metaphors...plot as numeric; use the categories as labels... ADDENDUM: Without creating the second array ...

alrededor de 6 años hace | 0

Respondida
Get certain matrix entries to a new matrix
Sometimes, just "dead ahead" is as good as any... nAdd=sum(A~=0,2)-2; % number of connections beyond the one fo...

más de 6 años hace | 0

| aceptada

Respondida
How to extract data points from a .fig scatter plot?
openfig('YourFigFile.fig') hSc=findobj(gcf,'Type','scatter'); .X|Y|ZData properties are available from the scatter object hand...

más de 6 años hace | 0

| aceptada

Respondida
Help creating a homogenous array when one or more columns has data type 'cell'
I'm guessing here, but try for i=1:width(t) if iscell(t{:,i}) t.(t.Properties.VariableNames{2})=cell2mat(t{:,2}); en...

más de 6 años hace | 0

Respondida
How to insert file name into an array?
str='../Documents/'; folder_name = uigetdir(str); d=dir(fullfile(folder_name,'*.dat')); for i = 1: length(files); fid=fope...

más de 6 años hace | 0

Respondida
Percentage of data in given range
Not a defined function, no. There are a couple of related in the Statistics Toolbox for percentiles, etc., but not what you're ...

más de 6 años hace | 1

| aceptada

Respondida
How to return in Matlab specific array according to certain scheme?
function ret=binrestore(m,array) % returns binary decoded array values from input encoded array % multiple Mapped Value = ...

más de 6 años hace | 1

| aceptada

Respondida
How to save a text file with headers?
function calibratedData = applyCal(fname,Ey,components,rawData,Calib) % applies calibration (gain and shift) to raw data; funct...

más de 6 años hace | 0

| aceptada

Respondida
How to plot a graph along with axes graph?
Just build custom-placed subplot() axes...something like I=imread('ngc6543a.jpg'); % just an image to use later... f...

más de 6 años hace | 0

| aceptada

Respondida
Plotting two data sets using the Curve Fitting Tool
Well, the old-fashioned way if all you wanted was the coefficients would be to use polyfit and polyval ...but since you have the...

más de 6 años hace | 0

| aceptada

Respondida
How can we write data into csv file with column labels included ?
... data1 = ones(1001,4); data2 = ones(125,7); data = {data1,data2}; ... You have created a disparate-sized array of 125 ro...

más de 6 años hace | 0

Respondida
How do I position a label below a colorbar?
You're almost there... hCB=colorbar; hCB.Title.String='Title'; set(hCB.XLabel,{'String','Rotation','Position'},{'XLabel',0,[0...

más de 6 años hace | 2

| aceptada

Respondida
xlsread import empty cell from excel file
Can't that way... xlsread imports what it finds as numeric and an empty cell is not numeric. You could use the multiple optiona...

más de 6 años hace | 0

| aceptada

Respondida
How to shift scatter() to origin (0,0) on a plot with recorded data
'Pends on what "center" and "best" mean... :) Normally, I'd say just test=readmatrix('scatterdata.txt'); figure testmn=mean(...

más de 6 años hace | 0

| aceptada

Respondida
"textscan" import leads to Undefined operator '.*' for input arguments of type 'cell'.
Use format spec that matches the file -- unfortunately, the file was created w/o using quoted string to delimit the date/time st...

más de 6 años hace | 0

Respondida
Parsing the data out based on categories encoded in a string
Well can get you mostly there although not sure exactly what you envision the final result to be from your description... tRes...

más de 6 años hace | 0

| aceptada

Respondida
How to spread daily traffic over the week days?
Good start...looks like could probably simplify the plot routine some and I'd go ahead and create the other variables in the tab...

más de 6 años hace | 0

Respondida
How to delete/remove an extra yaxis (inserted by addaxis function), without removing the line that was created with the addaxis function.
I just realized about the three axes, not just two and the use of the FEX submission -- I don't have it and don't want to mess w...

más de 6 años hace | 1

Respondida
Polar plot points appear on wrong position
Looks like a bug -- I took the example for polarscatter from the doc and set rlim([10 20]) The one point outside the lower boun...

más de 6 años hace | 1

Respondida
How to delete/remove an extra yaxis (inserted by addaxis function), without removing the line that was created with the addaxis function.
The two blue and the two red axes have the same scale; there's no point in creating the extra ones; just plot both blue and both...

más de 6 años hace | 1

| aceptada

Respondida
Why am I getting the error "Cannot find builtin function '_grayto16'"?
Try clear and then try again -- if you've inadvertentedly created a variable of same name this will get rid of it... If that do...

más de 6 años hace | 0

| aceptada

Respondida
Failed to read xml error when using xmlread
... try DOMnode=xmlread(filename(i)); % try to read the file catch ME % catch the failure; f...

más de 6 años hace | 0

Respondida
How can i adjust the figure window size to display legend ?
hLg=legend({'\phi = 90^{o}','\phi = 90^{o}'},'Location','SouthOutside','Orientation','Horizontal');

más de 6 años hace | 0

| aceptada

Respondida
Returning specific string from a given string that are found between two given substrings ?
input1=[0 0 0 0 0 1 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 1 0 0 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 ]; substring1=[0 ...

más de 6 años hace | 0

| aceptada

Cargar más