Réponse apportée
when i'm trying to save as excel xls to xlsx format in actxserver it doesnot work
You can't pass an OS command to be executed as the file name; my recollection is also that the .Open command needs a fully-quali...

environ 4 ans il y a | 0

Réponse apportée
Why do i keep getting the ereor "The value assigned to variable *** might be unused"
The warning is given because your code never references/uses the frequency vector, f, after defining it -- there's nothing in th...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Too many input arguments.
So much for help, Steven!!! :) Doncha just love folks who don't document a thing...not. function [lame_eau, CemaParam] = CemaN...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Use two different color schemes in contour plot
OK, with the explanation that you expect the two contours to not actually overlap, then it's feasible -- here's a sample with an...

environ 4 ans il y a | 0

Réponse apportée
How to display datetime value or duration value in Edit Fields (Numeric or String)
Well, yes, do what the error says -- convert the datetime and/or duration to string representation. >> dt=datetime(datestr(now)...

environ 4 ans il y a | 0

Réponse apportée
How to pass the index of a loop from one MATLAB App to another in real time
One way is through a memory mapped file <Share-memory-between-applications> Alternatively, although I've no familiarity with th...

environ 4 ans il y a | 0

Réponse apportée
How do I turn string "C = A*B" to "data.C = data.A.*data.B " while the equation and variables may change?
If the table name is fixed, then it's easy -- use dynamic field names as explained in accessing data in tables -- and specifical...

environ 4 ans il y a | 0

Réponse apportée
Display values barh, YEndPoints/XEndPoints does not work
One of the previous postings -- same idea but uses the internal Offset values from the bar handles... <How-do-i-label-each-bar-...

environ 4 ans il y a | 0

Réponse apportée
Plots and legend don't match
Besides Walter's note that you're using ii in the second plot instead of jj,it would be cleaner/simpler to do something like fo...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to repeat value in Cell using MATLAB
fnRM=@(v,c)repmat(v,1,c); for i=1:numel(Value) C{i}=cell2mat(arrayfun(fnRM,Value{i},Counts{i},'UniformOutput',false).'); en...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Need a fix for interp1 error
The simplest is to use [ux,ia]=unique(x); vi=interp1(ux,y(ia),v); This will use the first of the y values for each unique x...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
issue with matlab function
It's not MATLAB's fault, it did exactly what you told it to do...just your instructions weren't what you intended! :) While we...

environ 4 ans il y a | 0

Réponse apportée
How to code to perform the following task?
"...randi ... will return only integer-valued values; rand will generate full-precision doubles but you'll have to scale to the ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to apply this for-loop containing '<', designed for a scalar array, to several scalar arrays in a cell array?
There was no need for the loop in the original code -- quantile is already vectorized as are almost all ML-supplied functions. ...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
how to put many small text boxes that display information about individual data points in the same figure?.
Programmatically or interactively??? NB: the doc for interactively includes the following: Display Data Values Using Data Tips...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
'destination' is invalid
This isn't a MATLAB syntax error; it's indicating that your default working directory (the location given by cd at command line ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to fix the event density within bins?
If you want 10 bins each direction, then change the resolution to match; your code use 90 in each direction which will give the ...

environ 4 ans il y a | 0

Réponse apportée
+60k Lines on one plot - Too slow
This is way too much data to plot on single figure realistically, of course it's going to take time. But, the use of a loop and...

environ 4 ans il y a | 0

Réponse apportée
[Beginer] How can I extract column from several .txt and add them to another .txt ?
OK, the other may be of some use to others; given the revelation of old version of ML in use here I'll just post a different Ans...

environ 4 ans il y a | 0

Réponse apportée
[Beginer] How can I extract column from several .txt and add them to another .txt ?
If you do that (create the names with fname=sprintf('BaseName%03d.txt',i); that is), then it's a piece o' cake because dir() ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to plot multiple Graphs with nearly similar name of ordinate arrays
"I have 60 arrays which I called Eigenform1 until Eigenform60. ... And there is my Problem. ..." Indeed it is... "Is there any...

environ 4 ans il y a | 0

Réponse apportée
Calling MATLAB scripts from a MATLAB standalone executable
Not directly supported, no. I've not tried building one that uses it, but seems like you should be able to use feval with a dyn...

environ 4 ans il y a | 0

Réponse apportée
[Beginer] How can I extract column from several .txt and add them to another .txt ?
See the MATLAB FAQ @FAQ#How_can_I_process_a_sequence_of_files? for a fairly lengthy exposition of several alternatives. I'm par...

environ 4 ans il y a | 0

Réponse apportée
What variable can I put into find()?
" MATLAB isn't recognizing C(1,1) as a variable (which i'm pretty sure is the x cordinate of the mouse location). " There is n...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
how to put an app designer window in the center of the screen?
While you can do this using the .ScreenSize and .MonitorPositions properties retrieved from groot, I'd say it's quite rude and v...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Extracting data from Matlab .fig with 2 different y-axes?
The two y-axes could have been drawn w/ the yyaxis function in which case there aren't actually two separate axes -- and it's n...

environ 4 ans il y a | 0

Réponse apportée
Extract data from csv with header ond footer
Another approach although with a real file so could figure out how to interpret what is actually the filel content and if had de...

environ 4 ans il y a | 1

Réponse apportée
Create a infinite while loop
As is, it would be better to open the file first and write each record; the line bufferRx1(indRx1:indRx1+samplesLength1-1) ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Calculating the Gaussian distribution paramaters
Let's try your formula with numbers... >> data1 = normrnd(-6,3,[200 1]); >> mean(data1) ans = -6.1098 >> std(data1) ans...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
cell2mat has a very specific condition
Indeed, you made dereferencing the data about as hard as could by putting it into cell array -- a struct could/can hold an ordin...

environ 4 ans il y a | 0

| A accepté

Charger plus