回答済み
How to save the leading zeroes to values
res=reshape(sprintf('%d',a),4,[]).'; pom=str2num(res); to produce the decimal representation of the bit pattern. Is this what...

約7年 前 | 0

| 採用済み

回答済み
Concatenating two tables with different array lengths in a variable of type 'char'
"it makes me wonder if it's not possible to have strings of different length in a Table variable in different rows" Just like a...

約7年 前 | 1

| 採用済み

回答済み
Help me understand!
The key is line 17...

約7年 前 | 0

回答済み
How to make an array which plots certain points if another column has a certain value?
"Logical addressing"... isv=(v~=0); % the logical addressing vector for v plot(p(isv)) % plot the points (v...

約7年 前 | 0

回答済み
solving a function equal to zero
fsolve does the work for you...if you define the functional correctly-- fnY= @(x) (29-(6*x(1))-(18*x(2))); opt= optimoptions('...

約7年 前 | 0

| 採用済み

回答済み
Problem with overlapping bars in a plot with 2 y axis.
Answers/325849 bar graph with two yaxes Illustrates how to solve this...it's a pain TMW hasn't built a routine for such already;...

約7年 前 | 0

回答済み
I am trying to Combine a Line and a Bar Chart using Two y-Axes.
... yyaxis right hB=bar(C2,'FaceAlpha',0.80); ... Salt to suit...

約7年 前 | 0

| 採用済み

回答済み
Difficulty importing dates using readtable
The file doesn't match the format string -- it has a numeric value followed by two dates and who knows what else afterwards and ...

約7年 前 | 0

| 採用済み

回答済み
TEXTSCAN not value, comma, space problem.
Use readtable instead with a FixedWidthImportOptions object. You can begin by seeing if detectImportOptions can figure it out o...

約7年 前 | 1

| 採用済み

回答済み
how to solve exponential equation
opt= optimoptions('fsolve','Display','none'); X0=15; soln=arrayfun(@(e) fsolve(@(x) fnE(x)-e,X0,opt),ee); NB: There are two ...

約7年 前 | 0

| 採用済み

回答済み
how to solve exponential equation
fnE=@(x) 0.4075*exp(-((x-14.87)/11.39).^2) + 0.5621*exp(-((x-18.64)/27.74).^2); ezplot(fnE,[0 100]) hAx=gca; hL=hAx.Children;...

約7年 前 | 0

回答済み
How to extract values from array
disp(hist_points{5}(1)); % for first element in cell 5 Read up in the documentation on cell arrays about dereferencing.

約7年 前 | 1

| 採用済み

回答済み
Adding Zeroes and Ones into a Vector
>> v=reshape([reshape(v,[],3),[0 0 1].'].',1,[]) v = 0 0 1 0 0 1 0 0 1 0 0 1 ...

約7年 前 | 2

| 採用済み

回答済み
Nested FOR loops and creating text file (3d-layers) too slow.
So, as suspected, just generate the data to print and use the desired formatting string: % generate some sample data... A=1001...

約7年 前 | 0

| 採用済み

回答済み
How to delete repeating column or duplicate column in MATLAB? of type Double
>> uA=unique(A); >> B=[uA;histc(A,uA)] B = 1 2 3 4 5 2 2 2 2 1 >> ADDENDUM: Ab...

約7年 前 | 2

回答済み
Windows .NET Framework Update Breaks READTABLE()
Steven, the update was/is 2019-05 Security and Quality (HAH! -- dpb) Rollup for .NET Framework...(KB4499406) Published 5/14/201...

約7年 前 | 0

質問


Windows .NET Framework Update Breaks READTABLE()
Not so much a Q? as a report... Got up this AM to discover Windwoes had installed Office and OS update. After the interminable...

約7年 前 | 2 件の回答 | 0

2

回答

回答済み
How can I isolate the (x, y) from a (x, y, z) dataset?
Well, there are 142 100x190 arrays possible, which one(s) do you want? Just index... for i=1:size(XYX,3) % iterate ov...

約7年 前 | 0

回答済み
How do I break y-axis to improve visualisation when plotting intervals as errorbars?
"P.S. If there is any other suggestion about how to plot intervals in matlab for good visualization I will appreciate it." For ...

約7年 前 | 0

回答済み
read multiple csv files and extract first 10 rows only
Just read each file in turn and save the first N lines... NLines=10; % how many wanted to save...make variable so ca...

約7年 前 | 1

| 採用済み

質問


WRITETABLE to spreadhseet mysterious failure
>> writetable(tMismatch) >> type tMismatch.txt Fund,Acct,B_Student,SID,B_Paid,R_Student,R_Paid,R_Award,MatchStatus,R_Formula...

約7年 前 | 1 件の回答 | 0

1

回答

回答済み
Sorting same rows & columns in two different matrices?
Piece o' cake with logical indexing... C=B(isnan(A)); % just return the values ix=isnan(A); % return the pattern i...

約7年 前 | 0

回答済み
fplot doesnt give the same result of plot
So, why not just use plot if that's what you want? But, read the doc for fplot -- all is explained: Description ... fplot(f)...

約7年 前 | 0

回答済み
Replace elements in array with smaller array
Just read into a dummy variable and store only the N samples wanted. Nothing fancy needed at all. % names of the files: % MIC...

約7年 前 | 1

| 採用済み

回答済み
How can I get the number between 2 numbers?
ix=cell2mat(arrayfun(@(n)find(PA==n),n,'uni',0).'); PA=arrayfun(@(i1,i2)PA(i1+1:i2-1),ix(:,1),ix(:,2),'uni',0); PB should be o...

約7年 前 | 0

| 採用済み

回答済み
How to choose sampling frequency to generate signals?
Minimum sampling frequency would be >= Nyquist frequency which is max([f0 f1 f2 ... fn])/2 Sampling at 3-4X that value will be ...

約7年 前 | 0

回答済み
excel table data analysis
It's not trivial to learn the tricks, granted...but here's a start for the first...with it and some study of the examples, shoul...

約7年 前 | 2

| 採用済み

回答済み
Excel Vs Matlab Curve Fitting Tool
Read the output from Matlab -- the model has been standardized whereas the Excel model uses raw data. Note the R-sq and adjuste...

約7年 前 | 2

| 採用済み

回答済み
How can I filter through my data using a for loop?
filename = 'PIVtest.xlsx'; data=xlsread(filename); PLimit = 100; % set position limit to screen TPV=data(d...

約7年 前 | 0

| 採用済み

回答済み
Error Bars on horizontal bar chart
"errorbar(x,y,neg,pos) draws a vertical error bar at each data point, where neg determines the length below the data point and p...

約7年 前 | 1

| 採用済み

さらに読み込む