Risposto
Error in MATLAB standalone app installation
That means your user's PC doesn't have the MS Visual C++ compiler distributable runtime libraries installed -- here's a link to ...

oltre 3 anni fa | 1

| accettato

Risposto
Is it possible to open an excel template, save as a new file then write data to the new file without overwriting the template?
The routine I use to do so follows... function newYearlyBillingWorkbook(fnTemplate,outputFile,outputSheet) % open COM server...

oltre 3 anni fa | 0

Risposto
How to do plotting in a different figure for the same environment
Save the handles to the axes when they're created and plot into the desired one -- without specifying which, plot functions defa...

oltre 3 anni fa | 0

Risposto
Does any one has experience with exporting data from XXPauto to MATLAB? I have found these function but I am not sure how make them work
Certainly not from that alone, no... The best source would be to go back to wherever the functions were found...but just from t...

oltre 3 anni fa | 0

| accettato

Risposto
Use Double Array Values to Label Plot
"Would making labels = string(xx) work?" Did you try? It works for a basic definition of what "working" might mean; you migh...

oltre 3 anni fa | 0

| accettato

Risposto
Why does my cell array remain empty?
We can't debug what we don't have, which is a sample app that recreates the problem...looks like all should work just fine here ...

oltre 3 anni fa | 0

| accettato

Risposto
How to build a regression neural network from a datastore? How do i find the variable names from a datastore?
'Pends on how you created the datastore and what it was built from...if you smooshed all five variables into one column, then yo...

oltre 3 anni fa | 0

Risposto
Setting scatter point color when scattering matrices instead of vectors.
Read the <scatter> doc on the color input options carefully -- the individual color by point works only if each x,y are vectors,...

oltre 3 anni fa | 2

| accettato

Risposto
Search a larger dataset through a smaller data set of intervals
Taking a wild stab at what might be intended from the above data arrangement; assuming that the larger timetable(?) covers a tim...

oltre 3 anni fa | 0

Risposto
Using subplot in a for loop along with a nested While loop to plot data from a large matrix
Not at all clear why you're using a triply-nested loop here???? To do the requested operation on the array is simply timeTrace...

oltre 3 anni fa | 0

Risposto
Different Fontsize of texts in stackedplot()
If you mean you want them to be different for each type object, sorry, "no can do". There's only one global 'fontsize' and 'fon...

oltre 3 anni fa | 0

Risposto
I have a data 5x148992 , i have to extract data column wise and check if there is any changes wrt previous column and display when there are chnages?
" i want to print only if the conse[c]utive col[u]mns are different ..." Well, then there should not be a disp statement outsid...

oltre 3 anni fa | 0

Risposto
Undefine Temperatures with Depth
See <Logical Array Indexing> and use the MATLAB <missing> instead of some magic number for missing values. An example for one ...

oltre 3 anni fa | 0

| accettato

Risposto
How can I delete plot Label on Legend?
"As you can see on my plot below, on Legend, I get data1, data2, etc. How can I remove these?" Don't draw what you don't want ...

oltre 3 anni fa | 0

Risposto
How do I add monthly labels to my time series plot?
Ah! Typos are the bane of programming! :) Then t=datetime(1990,1,1):datetime(2016,12,31); % datetime vector is5=isbetwe...

oltre 3 anni fa | 0

Risposto
Pull numeric data from a mixed text data into a matrix in a loop
d=dir('yourmatchingFileWildCardExpression*.txt'); % get the list of candidate files dir() struct pat=digitsPattern(1)+"."+dig...

oltre 3 anni fa | 0

Risposto
Ideal way to import csv data and create column vectors that will be variables i want to work with
filename='RESP_Trial_3.csv'; column_names={'RLT','RLTx','RLTy','RLTz','RUT','RUTx','RUTy','RUTz','RIC','RICx','RICy','RICz',......

oltre 3 anni fa | 0

| accettato

Risposto
How do I find rows based on 2 column variables, then only retain the previous 3 rows?
% Rows to retain for average response time estimates iKeep=B(contains(B.condition, 'infrequent') & B.correct==0); will be your...

oltre 3 anni fa | 0

| accettato

Risposto
Determine available disk space
Try this for comparison if on Windows... !powershell "Get-PSDrive C | Select-Object @{Name='drive';Expression={$_.Name}}, @{Na...

oltre 3 anni fa | 0

Risposto
How to aplly a function to all columns?
See fft -- in particular, note the first comment... "fft(X) is the discrete Fourier transform (DFT) of vector X. For matrices,...

oltre 3 anni fa | 0

Risposto
Centering labels in a bar plot
Let bar do the work for you...you didn't supply all the needed code to run the example, but something similar would be x=1:33; ...

oltre 3 anni fa | 0

| accettato

Risposto
Application deployment designed in appdesigner
The application install will download/install the runtime if it isn't on the target machine when install the app the first time ...

oltre 3 anni fa | 0

| accettato

Risposto
How to interpolate a set of data wher the X size is different for the Y size
x=1:10;y=1:3; % coarse spacing z=rand(numel(x),numel(y)); surf(y,x.',z) hold ...

oltre 3 anni fa | 0

| accettato

Risposto
How to find out how many participants are in each group of my combined matrix (31230x5)
If I understand the description, the end result is easiest via hH=histogram(categorical(M(:,2))); % display histogram of n...

oltre 3 anni fa | 0

Risposto
how to plot index (rownumbers) in a larger dataset as range?
Presuming you don't try do do the logical addressing until the data array is defined so you don't have the initial error shown, ...

oltre 3 anni fa | 0

| accettato

Risposto
Connecting two data points in a plot with a line, and determining this line's slope
For just between two points, may as well just use m=(y2-y1)./(x2-x1); % slope between two points Or, if specify by choosin...

oltre 3 anni fa | 1

| accettato

Risposto
How do I run a MatLab script via the windows command prompt such that it does not output back to the terminal when using the -batch argment?
stderr is the second output stream and its redirection symbol syntax is "2>" To redirect both to same place use > nul 2>&1 Th...

oltre 3 anni fa | 0

Risposto
Hide trendlines on plots, via app designer
You forgot to show us how you're creating the plot, but if you will save the line handles when plotting, then you can toggle the...

oltre 3 anni fa | 0

| accettato

Risposto
loop in a 3D matrix
OK, that's kinda' what I thought but wasn't sure...to average each frequency over the 120 planes, you don't need any loops at al...

oltre 3 anni fa | 1

| accettato

Risposto
Is there a simple method to exclude empty categories from charts
It's a little extra code to write, but it should be able to be made generic -- follow the lead of @Cris LaPierre in that thread;...

oltre 3 anni fa | 0

| accettato

Carica altro