Respondida
Plotting seperate figure in for loop
44 separate figures? Be aware that this many figures can make MATLAB unhappy to the point of Java crashing, particularly on lowe...

más de 8 años hace | 0

| aceptada

Respondida
Comparing arrays using loop?
You can actually do this in Matlab without needing a for loop. If I'm interpreting your question correctly, you're asking to fin...

más de 8 años hace | 0

| aceptada

Respondida
Parallel-izing, speeding up simulation
Taking a quick look. There's probably more you can do. 1. Eliminating the anonymous function call on the conditional inside t...

más de 8 años hace | 0

| aceptada

Respondida
ode45 taking long time to solve
Is ode45 a requirement? I'd guess that your equations are becoming stiff when you add in the heavisides. As a result, ode45 is t...

más de 8 años hace | 1

Respondida
Display error message and execute catch
Does the text need to remain red and halt execution? A few ways to go about this. First the catch block will hold the error f...

más de 8 años hace | 18

| aceptada

Respondida
How to find number of values which are repeating in a column?
Take a look at the histcounts function: [N,edges] = histcounts(X,edges) sorts X into bins with the bin edges specified by the v...

más de 8 años hace | 0

Respondida
Problem with 'Patch' graphics in 2014b - Splits in two along diagonal
Has this issue been addressed for 2017a? I see it has acquired a ticket as of last year: <https://www.mathworks.com/support/bugr...

más de 8 años hace | 0

Respondida
Making movie out of images
It would appear you're giving it a matrix of values to make frames, but MATLAB is looking for indices for each pixel to relate t...

más de 9 años hace | 0

| aceptada

Respondida
Can anyone tell me what is wrong with this loop? It fails on the second line. I believe the functions are correct bc they work in the command line.
As Ced says, some additional context would be helpful to answer the question completely. You say it works form the command li...

más de 9 años hace | 0

Respondida
How to check source code for certain strings? [Base MATLAB] [Cody Courseware]
If you can check the source code on submission, you could use a regex to look for the existence of the nested for loop, identify...

más de 9 años hace | 0

Respondida
Vectorization of a for loop
v = 1:length(P)-2; ix = find( ((P(v+1) - P(v)) > 0) & ((P(v+2) - P(v+1)) < 0) ) + 1; B2(ix) = 1;

casi 10 años hace | 0

Respondida
Is there an easy way to upload my Matlab GUI interface onto a website?
Nothing that I'm aware of. The MATLAB mobile application (http://www.mathworks.com/mobile/features.html) does not support GUI ap...

casi 10 años hace | 0

Respondida
MATLAB Legend title issue
You need to access the title string property of the legend: There is likely a cleaner method to access this with the new grap...

alrededor de 10 años hace | 0

Respondida
Will someone please check the following code for efficiency?
A few things to try: How often does Dem change? Is it common for it to be exactly 496x488, or do its dimensions always change...

más de 10 años hace | 0

Pregunta


JIT and Containers.Map()
Hello everyone, A quick question I'm hoping someone might have a little experience with: MATLAB's built-in just in time comp...

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Question on Simulink Callback Scope
Hello! I'm trying to perform a calculation based on some simulation parameters in Simulink before the simulation runs but aft...

alrededor de 13 años hace | 1 respuesta | 0

1

respuesta

Respondida
UIGetfile Operation - Appears to OPEN/COPY .mat files, opposite what the documentation says?
It turns out this issue is related to the fact the I have Microsoft Access also installed on the computer, and it is fighting wi...

más de 14 años hace | 0

Respondida
Easy question about loading data
Hi, If your data is in a vector, you can just pass that data along when you call the testing function: function y=tes...

más de 14 años hace | 0

Pregunta


UIGetfile Operation - Appears to OPEN/COPY .mat files, opposite what the documentation says?
Hi! I have large datasets (~30MB MAT files) which I am trying to analyze on a network machine with about 1gig of RAM and a 15...

más de 14 años hace | 2 respuestas | 1

2

respuestas