Réponse apportée
[EASY] How to get/grab string from GUI text edit and assign to matrix
SeGe - remember that the output of get(app.editText, 'String'); is a string, so you need to convert it from a string to a number...

presque 6 ans il y a | 0

Réponse apportée
Multiplicación de varias columnas por una matriz
Isabel - try the following C = zeros(size(A,1),size(B,2)); % <--- (number or rows of A) x (number of columns of B) for o=1:si...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Block GUI in Callback
Torsten - you could disable the button so that it can't be pressed again function testCallback(~, hButtonObj, ~) ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to read a video file and save it to multiple frames in numerical order? Because I keep getting back random frames not in order of the video progression
Manuella - does the because I keep getting back random frames not in order of video propression refer to the files that you have...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
any help in Matlab code
Ali - if you use functions then you can call a function from your main program (whether this is a script or function itself) and...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
re running the code
karan - use a while loop to ask for input until some condition is satisfied. For example, number = 0; while true number =...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to filter music in real time without stopping the music from playing
Lazaro - I don't think that changing the audio player samples is permitted (at least I can't see any functions to get or set the...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Capturing Mouse Clicks on an array/patch
Sarah - very late to this, but you can use hittest to capture mouse clicks on graphics objects (in your case, the nine different...

presque 6 ans il y a | 0

Réponse apportée
How to run a function for multiple input matrices?
jack - just call the function twice and store the output in separate variables or in a cell array. You will need to change your ...

presque 6 ans il y a | 0

Réponse apportée
Beginner issue with GCO logic
Jakub - look closely at the code if ~isempty(h) & gco == h delete(h); else xy = get(gca,'CurrentPoint'); h = f...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How to delete the first 2 rows (Headers) of a txt file ?
Ivan - perhaps try using importdata and indicate the number of header lines that should be ignored when reading in the file.

presque 6 ans il y a | 0

Réponse apportée
problem with function call
sim_sup - it is always a good idea to include the full error message when posting your code...else we can only guess at the erro...

presque 6 ans il y a | 0

Réponse apportée
Adding attachment to Jira with Matlab RESTful API
Juho - since the CURL statement works, why not build that in MATLAB and use system to execute that statement? userName = 'myUse...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Dont why i keep getting reshape error anytime i run this.
Aaron - when I try to run your code, I get the following error Error: File: xyz.m Line: 25 Column: 1 "reshape" previously appe...

presque 6 ans il y a | 1

Réponse apportée
Performing FFT from three different Excel input data
Jmv - if you just want to perform the FFT on each file, then wouldn't your code look something more like %INITIALISATION % % %...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Generate sound with specific frequencies
Mayar - playback the audio data outside of the loop. Inside the loop, concatenate the samples for each frequency into an array. ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
using multiple keyboard inputs simultaneously
Isaiah - what are the multiple keys that can be pressed? If one of the keys is the shift or command/control or alt, then that wo...

presque 6 ans il y a | 0

Réponse apportée
please help me ..can not find out the error
indrani - the error in this code gradient_sq_minus_value==(I_vertical- I_horizontal).*(I_vertical+I_horizontal); (gradient_fo...

presque 6 ans il y a | 0

Réponse apportée
pause button not working
Kristian - if you want to plot t versus heightst then you could add the following to the end of your code. A stepSize of 100 is ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How do I get a my script to show my display function 'You gained a point' when my ball hits the randomly placed board
Aaron - look closely at the code in your for loop for ii=2:length(x) drawnow; set(hndl,'XData', x(ii), 'YData', y(ii)...

presque 6 ans il y a | 0

Réponse apportée
How can I generate matrix with one loop?
Hind - try using nchoosek.

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Angles greater than 90 do the sin of that angle, but angles lower than 90 do the cos
Suniel - try using an if statement to use sin or cos depending upon the angle. For example, result = 0; if angleIncidence > 90...

presque 6 ans il y a | 0

Réponse apportée
Defining a symbol to perform a specified operation
Aleem - I think the easiest approach would be to create a function. It would take the a and b as inputs, the function body would...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Create a video from frames taken 5 by 5
Alberto - whenever you call writeBufferToFinalVideo the code creates a new VideoWriter, writes five frames to file, and then clo...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Problem playing audiofile from UI.
Camilo - I suspect that the problem is that the audio player p is a local variable in your function. So as soon as the last line...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Como incrementar un vector cada n filas
Isabel - why if mod(a,4)==0; % <----- a instead of if mod(k,4)==0; % <----- k ? And so your code would be x = zeros(1...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to make Cycloid subplots
Angel - from the link that you provided, the (polar) equations x = r .* (t - sin(theta)); y = r .* (1 - cos(theta)); for a ra...

presque 6 ans il y a | 0

Réponse apportée
How to create filled half circle, quarter circle and three quarter circle in matrix form
yasmin - if circlePixels is a logical array which points are in the circle (1) and which points aren't (0), then couldn't you ju...

presque 6 ans il y a | 0

Réponse apportée
Using a continue button on a plot created within a function
Roan - can you nest your continue button callback function within plots like function plots() hFig = figure('Position',[...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
help on error message
Daniel - in the line of code disp([(1:EL)' out.M1/1E3]); you are horizontally concatenating the column (because of the transpo...

presque 6 ans il y a | 0

| A accepté

Charger plus