Réponse apportée
4D plot around a cylinder
I am sorry to disappoint you, but the 4D plot is not yet available. You should choose 3 of your variables at a time and plot th...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
is there any robust solution to Out of memory error in Windows 7 64 bit machine where MCR of 32 bit is installed?
You should install the MCR of the matlab version installed on the machine. If your application was created in a 32bit matlab ve...

presque 13 ans il y a | 0

Réponse apportée
How to change the colors in the plot?
plot(tt,xx(:,1),'b',,tt,xx(:,2),'r'); % one blue and the other red grid on xlabel('time') ylabel ('Theta'...

presque 13 ans il y a | 2

| A accepté

Réponse apportée
problem with %d in MATLAB
for k = 1:22 pic2read = strcat(num2str(k),'.dcm'); if k<10 pic2read = strcat('0',pic2read); en...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How to use fprintf?
fprintf('a= %g; b= %g; c= %g ',y(1),y(2),y(3)) % extend it until y(6)

presque 13 ans il y a | 1

| A accepté

Réponse apportée
varying image properties Using MATLAB slider
To make sure your slider initialize in any value of your liking, place the _set_ function on the start-up function of your GUI. ...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
how to unzip files using loop?
zip_files = dir('*.zip'); for k = 1:numel(zip_files) unzip(zip_files(k).name,'output_directory_here'); end

presque 13 ans il y a | 6

Réponse apportée
how to access a particular format file from a zip file with or without zipping in matlab?
Even when you can select the files to _zip_ , when performing the reverse operation you do not have the choice of extracting sel...

presque 13 ans il y a | 0

Réponse apportée
For example, I want to get a result like this. b=[1 diff(3)]=[1 0]. Not b=[1] .
Do something like the following function: function out=my_diff(in) out = diff(in); if isempty(out) out = 0; ...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to start to run a Matlab program with a user defined function?
Just type the function name with the right input arguments, then, push _enter_. Your question is a bit fuzzy, so, I am not sure...

presque 13 ans il y a | 1

Réponse apportée
How do I read selective data from a fixed file
fid = fopen('your_file.txt'); A = fscanf(fid, '%g %g %g %g %g %g %g %g %g %g', [10 inf]); fclose(fid); % Transpos...

presque 13 ans il y a | 1

Réponse apportée
How to call a different GUI through a push button?
Since the second GUI is in another directory, use the function _run_to call the second GUI, adding the full path to the second G...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
How to assign a value of differential equation?
<http://people.rit.edu/pnveme/pigf/Derivatives/derv_matlab_1.html> Derivatives: Using MATLAB Using symbolic computation yo...

presque 13 ans il y a | 1

Réponse apportée
Need help with my function
function [dist,vel,acc]= free_fall(t) % The code of your function here ... ... % no need of adding "end"

presque 13 ans il y a | 0

Réponse apportée
how to store cell array in text file?
follow the link to the _dlmcell.m_ file. It's a easy to use function to write cells to .txt file. < http://www.mathworks.es/...

presque 13 ans il y a | 0

Réponse apportée
how can GUI file call another GUI file
Just type the name of the m-file associated with the second GUI in the point (within the first GUI's associated m-file) where yo...

presque 13 ans il y a | 0

Réponse apportée
what does the function arithenco exactly do??
From MATLAB help: arithenco Encode a sequence of symbols using arithmetic coding. CODE = arithenco(SEQ, COUNTS) generate...

presque 13 ans il y a | 0

Réponse apportée
how can I change lowpass filter form?
The string entries are defined as follows: Ap — amount of ripple allowed in the pass band in decibels (the default un...

presque 13 ans il y a | 0

Réponse apportée
Gui, m.file works but fig doesn't
The .fig file of the GUI holds the graphical objects of the GUI, it is not destined to be run. To run the GUI you ALWAYS have ...

presque 13 ans il y a | 0

Réponse apportée
How can i store string in cell without apostrophe?
M = cell(1,1); str = 'A50'; str = char(str); M{1} = str;

presque 13 ans il y a | 0

| A accepté

Réponse apportée
[GUI] How to make a push button move when i click on it?
Set the following in the push_button callback function. new_position_array = [20 20 20 20]; % example of new position se...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How can i generate text file output for my code ?
To add/concatenate letters and numbers: my_char = 'A'; my_number = 50; my_string = strcat(my_char,num2str(my_nu...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Assigning a variable to equal another in a for loop
Hi, I made some changes to your code, here you are: Ele = cell(3,1); Ele{1} = [1 2 3 4 5 6 7 8 9 10]; Ele{2} = [11 12...

presque 13 ans il y a | 0

Réponse apportée
Concatinate number and character
my_char = 'A'; my_number = 50; my_string = strcat(my_char,num2str(my_number));

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Error related to SVMTRAIN "??? Undefined function or method 'svmtrain' for input arguments of type 'double"
What's the first " * " doing? svmStruct=*svmtrain*(trnData,grp,'showplot',true);

presque 13 ans il y a | 0

Réponse apportée
How can I fix my problems in this program using loops?
I think your equation has a mistake, since for n=1 it yields 0, and subsequently, the result is 0 for being a multiplication. Th...

presque 13 ans il y a | 0

Réponse apportée
Fastest way to fill in an array
The first method is the slowest because even when the matrix is preallocated, its size changes within the loop, what renders the...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
a problem with a function
Try this out: input_args = [-0.9133 0.3481]; output_args = zeros(size(input_args)); for k=1:length(input_args) ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How to store images of different dimension in a single array
Create a cell array instead, each cell can contain a image of different size: N = number_of_images; my_im_cell = cell(N,...

environ 13 ans il y a | 2

| A accepté

Réponse apportée
Search data in a dataset array
by the error message you get, it seems you are trying to apply _find_ to a cell array, which can not be done. Make sure your dat...

environ 13 ans il y a | 0

Charger plus