Pregunta


Set boundaries for norminv output
Hi. I am trying to generate randomized data with a certain average and a standard deviation. However, the data has to be wit...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Faster way to interpolate 3D-gridded data?
Hi. I have a 3D-grid of temperatures with a 1 hour resolution. The matrix is formed as follows: T(time,longitude,latitude)...

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

0

respuestas

Pregunta


Simulink - unsolvable algebraic loop when using discrete shift register
Hi. I am trying to design a controller in Simulink that makes sure the moving average (mean value of the last 10 minutes) st...

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

0

respuestas

Respondida
Error when using legend on contour plot(2014b
Okay, I found the reason for my problem. Maybe it might help you, too. The matrix I was scattering contained NaNs. I removed a...

más de 10 años hace | 1

Respondida
Accessing website (untrusted SSL / HTTPS) using urlread
I give up. I have decided to use cURL via the function system('curl -k https://oflxd21.dwd.de/...') with the option -k,...

más de 10 años hace | 1

| aceptada

Pregunta


Accessing website (untrusted SSL / HTTPS) using urlread
Hi. I have been trying to access a website and log in using urlread. I keep getting error messages such as Error using ...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Respondida
Choosing an ode solver in function input
Never mind, I figured it out. I decided to pass the solver as a function handle. So the function is written as function...

casi 11 años hace | 0

| aceptada

Respondida
How to save an axis as an image automatically?
doc print Might have all the info you need :)

casi 11 años hace | 0

Pregunta


Choosing an ode solver in function input
Hi everyone, I am working on a function that simulates a heat storage tank and uses ODE solvers to calculate the energy balan...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Respondida
Need help creating a table in which each cell contains a pair( or more) of numbers
Use a cell array. You could run the following code: xlab = {[], '1', '2', '3', '4', '5'}; %labels as strings, comma to mak...

casi 11 años hace | 0

Pregunta


Using Nx1 vector as index to extract values from an NxM matrix and create an Nx1 vector
Hi. I will try to explain my title: I have an NxM matrix, e. g. M = [1 2 3; 4 5 6; 7 8 9]; and an Nx1 index vector, e...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Respondida
"Warning: Name is nonexistent or not a directory:" when not connected to network drive
Okay, nevermind, I found a solution. 1. Give yourself editing rights to the file matlabrc.m 2. Between the lines 32 and 33 t...

casi 11 años hace | 0

| aceptada

Pregunta


"Warning: Name is nonexistent or not a directory:" when not connected to network drive
Hi. I have a set of folders in my Matlab path that are on a network drive. I do not want to sync the drive to my PC, because ...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Neural network predicting impossible values
Hi. I have created a NARX neural network that attempts to predict 96 values per day (daily values with a 15 minute-time resol...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Respondida
copying colorbar from one figure to another and replacing first YTick
Okay, I found a workaround using xlim, removing the border and making the background white. There's still a little bit of the x...

más de 11 años hace | 0

| aceptada

Respondida
two figures side by side
could you give an example code of your attempt so far? I'm a little confused as what you want to do. So far this is what I sup...

más de 11 años hace | 1

Pregunta


copying colorbar from one figure to another and replacing first YTick
Hi. I have a 60x60 matrix "count" (containing values between 0 and >1000) that I would like to make an imagesc from, using a log...

más de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Terminate program once input is required using system()
Hi. I am trying to run TRNSYS through MATLAB in a script. So far it looks like this (simplified): Deckname = ['TRNSYS_A1_...

casi 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
Error after compiling figure as exe, but running figure causes no problems
Okay, I found the problem. I included a function "TimeZoneConvert.m" which seems to use toolbox functions that cannot be deploy...

casi 12 años hace | 0

| aceptada

Pregunta


Error after compiling figure as exe, but running figure causes no problems
Hi. I have created a figure in GUIDE and tested it multiple times. It works fine. However, when I use deploytool to compile ...

casi 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Run code in GUI automatically as soon as it starts
Hi. I have a GUI that contains an infinite loop for Data handling. My plan is to embed it in the Windows scheduled tasks so ...

casi 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to scan pdf documents in a folder for string and give out file name
Hi. I'm working on a code that scans a folder for a string and gives out the file name of the document. But my code doesn't q...

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

1

respuesta

Pregunta


Sort values of a vector in an array according to gaps
Hi. I have a vector that looks something like this: A = [1; 2; 3; 4; 6; 7; 8; 9; 10; 12; 13; 14; 15; 16; 17; 19; 20];%...

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


speed up process of importing data from one vector to another
Hi. I have a vector with a timestamp (using Matlab numbers) which I want to import to another vector with a resolution of one se...

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

1

respuesta

Respondida
Which is book should I use for learning matlab?
I don't think it would be possible for one author to put everything Matlab has to offer in a single book. Every one develops ...

alrededor de 12 años hace | 0

Pregunta


Calculation giving me complex numbers exen though it shlouldn't
Hi. I have the following code: %angle in degrees alpha = [28.8 41.4 68.4 90 117 126 133]; %angle in radians alp...

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

0

respuestas

Respondida
fit non-linear scatter
Nevermind. I figured it out. Modelfun1 = @(beta1,xx)(beta1(1)-beta1(2).*(exp(xx./(beta1(4).*beta1(3)))-1)); Modelfun...

más de 12 años hace | 0

| aceptada

Pregunta


fit non-linear scatter
Hi I have a bunch of scatters that I am trying to get a trend line for: Plot = figure; PV_KL = axes('Parent',Plot...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Add legend to scatter
Hi. I have coded the following for two scatters of measured values: Plot2 = figure; PV_TA2 = axes('Parent',Plot2); ...

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

2

respuestas

Pregunta


How to fill in gaps of multiple data vectors according to time vector
Hi. I have a bunch of vectors containing data and a timestamp with the respective time the data was recorded. I want the dat...

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

0

respuestas

Cargar más