photo

Jakob B. Nielsen


Last seen: environ un mois il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Two functions having the same name but one being capital?
Well, it would appear from the evidence that Matlab is not case sensitive... I can't save duplicates of my functions with lower/...

environ 2 ans il y a | 1

Réponse apportée
Load variables into the workspace with app button
I think this one might answer your question too: https://se.mathworks.com/matlabcentral/answers/452275-how-do-i-access-and-int...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to establish a range within a loop statement?
Sounds like you want to use a for loop, which executes for every specified value you put into the loop. The classic: for i=1:50...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
convert code to software
https://se.mathworks.com/help/compiler/

presque 3 ans il y a | 0

Question


Identical SQL query produces different result on two PCs
Hey MathWorks Community! I have a Matlab script which I cant share in exact detail with you in detail due to confidentiality, ...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Problem tracking a value to plot.
You have a problem with indexing. Every time you say V=Vnew, your V is simply replaced with a new overwritten value. You have an...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Finding the 95% fit on an exponential graph
There really should be a clever way to extract that info! I've looked at the cftool and I can't find an easy way. There is a rat...

plus de 3 ans il y a | 0

Réponse apportée
how to get unique value of datetime and sum all of the value ?
Hi Muhannad, You have made a good start, you have a list of all unique dates in your unqdate. One thing I would recommend is to...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to insert a row and shift cells down in excel
I believe you can achieve this using Excel.Run('InsertRow'); you might have to have the relevant row selected before it works...

plus de 3 ans il y a | 0

Réponse apportée
how to run a code to several files in a folder?
You can manage this using for loops, provided that your datafiles are named in an incremental manner. Example, you have 10 files...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
scatter plotting of string data
Check https://se.mathworks.com/help/matlab/matlab_prog/convert-table-variables-containing-strings-to-categorical.html

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
average value of group of cells in a matrix
You are on the right track! You do, indeed, want to use two for loops, because you are trying to perform operations in two dimen...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
plotting data with a 1*1 struct
Just play around a little bit with how you call specific indices out of a structure, it will become easy once you get the hang o...

plus de 3 ans il y a | 0

Réponse apportée
Uninstall older releases of MATLAB
If you navigate to C:\Program Files\MATLAB You should see a folder for each version you have installed. I find my uninstall in ...

plus de 3 ans il y a | 2

| A accepté

Réponse apportée
Colouring different regions on a graph.
Plot stepwise segments of your data? For example: data=1000*rand(1000,1); data=sort(data); x=1:1:1000; start=1; figure fo...

plus de 3 ans il y a | 0

| A accepté

Question


sqlwrite object already exists
Greetings excellent people! (I am aware that a question already exists with roughly the same name, but it is several years old...

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

0

réponse

Question


ActiveX interacting with dialogue boxes
Greetings, everyone! I routinely use activex to play around with excel files via matlab, but recently I've come across a bit o...

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

0

réponse

Réponse apportée
For loop for a function
You construct the for loop like this: for i=1:size(age,2) %by referencing your age array, you can change the age values and it ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
how to combine two plots in one figure
In your code, you input the initial x and v during every loop iteration - not the most recent x and v. That is why you just get ...

presque 4 ans il y a | 0

| A accepté

Question


Matlab compiler error during packaging - "no error"
Good day, fine community! I am experiencing a problem which has me kind of puzzled. I have created a GUI that I have succesful...

presque 4 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
How can I create a listbox with the content of an structur/array?
You create the listbox inside a loop. That means every loop iteration, you make a listbox on your selected position with only th...

plus de 4 ans il y a | 0

Réponse apportée
How to do Weighted Historical Simulation?
I think you just need to move your parantheses in the function, to contain the entire logic statement. function [VaR,n_tau] ...

plus de 4 ans il y a | 0

Réponse apportée
Oscillations - Determining amplitude and frequency values
Take a look at the builtin fourier analysis which is just perfect for an application such as the one you describe.

plus de 4 ans il y a | 0

Réponse apportée
How to publishing script with function
Your question is a little vague, but if you mean what I think you mean - namely to compile a script but for the compiled version...

plus de 4 ans il y a | 0

Réponse apportée
plot values in the loop
do plot(k,d,'o-') instead, that will give you o's connected by lines.

plus de 4 ans il y a | 0

Réponse apportée
Setting position of Annotation on an axes component
Hi Jason, When you get the position of an axes, the first and second index are the start location of your axes in the x and y d...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Continue if file doesn't exist - pop_loadset
Use the exist or isfile functions. E.g. for i = sub for j = run if exist(['.../2_correctTriggers/',sprintf('p0%...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
How do i create a variable as index for vector m for my code below.
Your issue is that if you make a for loop for 0.1 to 1000, and then use that same counter as an index, when you then type M(omeg...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
plot vector with string timestamp
Take a look at the datetick function.

plus de 4 ans il y a | 0

Réponse apportée
Sum of signals and filter the sum and recuperate the inicial frequencies
Making the simulated signal is quite simple. First, make a vector t which covers the time domain you are interested in. Then, ge...

plus de 4 ans il y a | 1

| A accepté

Charger plus