Réponse apportée
How do I convert or save data from excel as asc file in order to analyse it using MATLAB.
You might not have to convert it to an ascii file. help xlsread doc xlsread

plus de 11 ans il y a | 0

Réponse apportée
View images in between loops
drawnow;

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Which is the fastest way to display gray scale images (480 by 640) ?
Try using drawnow instead of pause(x)

plus de 11 ans il y a | 0

Réponse apportée
Using 'single' arrays with the "filter" command
Make sure all your inputs to filter are singles. Here's an example for a simple moving average: x = rand(100,1,'single')...

plus de 11 ans il y a | 0

Réponse apportée
How to give degrees representation to hue in HSV matrix
Just multiply the hue by 360.

plus de 11 ans il y a | 1

Réponse apportée
how to open mat file that contains DOT
Have you tried: load('experiment_1.1_test.mat','-mat') That will force MATLAB to treat it as a .mat file instead of an a...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Copying and replacing of some values
It's a little bit of a round about way, but you could leverage MATLAB's strrep function. c = char(a); for ii = 1:len...

presque 12 ans il y a | 0

Réponse apportée
what is the precision of a MATLAB datenum?
Well, let's find out. Let's take a look at the precision of the time "now," converted to seconds reference = now; pre...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Function for Calculating Moving sum
help filter doc filter Example: Take a 10 element moving average. x = rand(1e3,1); n = 10; x_moving_average = fil...

environ 12 ans il y a | 2

Réponse apportée
Question about single digits.
Its not the most elegant, but this works: A = str2num(num2str(123)')'

environ 12 ans il y a | 1

| A accepté

Réponse apportée
Why won't padarray work?
type: which padarray What does it say?

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Is there a clever way to ditch 'find' and use logical indexing here ?
sorted_x = sort(x) logical_inds = x > 0.5 & x <= sorted_x(n);

environ 12 ans il y a | 0

| A accepté

Réponse apportée
loop on a strfind
I think this can be done with arrayfun. % Your inputs A2 = 'Number'; B2 = '0123456789'; lm = char(randi([32 64]...

environ 12 ans il y a | 0

Réponse apportée
A faster way to read a large text file
Before you exit, store what line you are at, then, when you reopen it, seek to that line. Right before you close: file_p...

environ 12 ans il y a | 2

A soumis


Clear Most
Allows the user to clear all but leave the breakpoints in place.

environ 12 ans il y a | 1 téléchargement |

Réponse apportée
IMPORT DATA FROM AN EXCEL SHEET
help xlsread doc xlsread

environ 12 ans il y a | 0

| A accepté

Réponse apportée
matlab in a car
<http://www.mathworks.com/mobile/>

environ 12 ans il y a | 1

Réponse apportée
Conditional Plotting
y1=0:0.01:1; y2=0:0.01:1; [Y1,Y2]=meshgrid(y1,y2); Z=((Y1 - Y2).*(Y1.^2 + 4*Y1.*Y2 - 6*Y1 + 7*Y2.^2 - 18*Y2 + 12))/12...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
Unexpected MATLAB operator.( error)
Does your code actually have those carrots in there? >darcy2d If so, remove the carrots and your problem will be solved ...

plus de 12 ans il y a | 0

Réponse apportée
finding nearest vlaue
Kash, You might want to try this. It'll allow for you to do the neighbors of more than 1 number at a time. Just change the v...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Curve smoothing using Matlab
help filter doc filter

plus de 12 ans il y a | 0

Réponse apportée
Integrating A Vector (Or rather a series of point values)
x = [0.6 1.3 2 3 4 5]; % Your x values y = [12.6 87.2 74.2 45.3 23.4 14.2]; % Your y values Area = trapz(x,y) % The area...

plus de 12 ans il y a | 1

Réponse apportée
Improving MATLAB code ideas? - cells and matrices
<http://www.mathworks.com/matlabcentral/fileexchange/25977-mtimesx-fast-matrix-multiply-with-multi-dimensional-support> You c...

plus de 12 ans il y a | 0

Réponse apportée
MAT file
What do you want to edit? Do you want to change a variable? Add a variable? Assuming it's the latter, you could just use the -ap...

plus de 12 ans il y a | 0

Réponse apportée
random numbers
help rand doc rand

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Built-in function diff - methodology
help diff doc diff

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Basic 2D graph from 3D matrix?
plot(squeeze(A(1,1,:)))

plus de 12 ans il y a | 4

| A accepté

Question


Mex error. Collect2 -lstdc++
Hey. I'm trying to compile a mex function, and I'm having a little trouble. Any help would be appreciated. The command is ...

plus de 12 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How many exact decimals can offer Matlab?
Change the display format. Try: format long X % Your variable

plus de 12 ans il y a | 0

Réponse apportée
Plot title with variables on single line
My best guess if that IndexReturns.colheaders is a cell array. Try using curly brackets instead. Example title([IndexRet...

plus de 12 ans il y a | 0

| A accepté

Charger plus