photo

TADA


Hebrew University of Jerusalem

Last seen: 4 mois il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
  • MATLAB Central Treasure Hunt Finisher
  • Pro
  • Revival Level 2
  • Solver
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 1
  • 12 Month Streak
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • Thankful Level 3
  • Knowledgeable Level 4

Afficher les badges

Feeds

Afficher par

Réponse apportée
How can i save the variabels values as array form in for loop?
You can define Q as a column/row vector. Its size can be set to the number of iterations you perform: loop = 1; i = 0; maxN =...

plus de 2 ans il y a | 0

Réponse apportée
Customizing graph plot area
You can find all the properties of axes in <https://www.mathworks.com/help/matlab/ref/matlab.graphics.axis.axes-properties.html ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
I have a matrix. I can't figure out how to subtract row 1 from row 5, row 2 from row 6, row 3 from row 7, row 4 from row 8. My code isn't working.
if the functionality is to subtract the row in index n+4 from the row in index n A = [2.5 3.5 7.5 8.5 ;... %1 9.5 5.5 6....

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Nested table with adaptive numbers of columns
I know that this doesn't exacly answer your question and that its gonna sound like a case of "Tomayto, Tomahto" But I think you...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
What is the easiest way to remove a vector from a matrix?
A = [magic(5); magic(5)]; v = A(1,:); mask = A==v; eqRows = all(mask, 2); A(eqRows, :) = [];

environ 3 ans il y a | 0

Réponse apportée
Calling App designer function from .m script
App designer GUIs are not a separate application, App Designer simply generates matlab classes and wraps them in an mlapp file f...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
How can I vectorize this for loop?
irow = (0:(NoBlocks-1))*ptsOL+1; icol = (0:BS-1)'; idxMat = irow+icol; DataMatrix = DataVector(idxMat);

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Why isn't matlab drawing the bounding box on my picture?
Without your image its hard to tell, but I tried your code on a couple matlab builtin images and it seems to work. if you get a...

environ 3 ans il y a | 0

Réponse apportée
linking properties in object oriented code
it is possible using Post set events. I am working on an MVVM toolbox which relies on post set events (TaDuAs/Flow: Framework f...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
copying multiple images from one folder to other folder with conditions
use dir to loop through all files in the folder you mentioned. use imfinfo to check the width and height of each image file in ...

environ 3 ans il y a | 0

Réponse apportée
Export a plot with predefined margins
theres the old school print function, still works well print(h, File_W, format, '-r600'); for instance, if you want to export...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
How do I add local min and max values on each line of the plot like the plot shown below?
Im not sure, but it seems to me that the plot you are trying to duplicate marks local minima/maxima points as the absolute minim...

environ 3 ans il y a | 0

Réponse apportée
Array indices must be positive integers or logical values for loop expression
in Matlab array indices start from 1, not 0 like other languages. You have more bugs in this script, but this error is due to s...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Include two separated existing matlab figures into a new subplot
fig1 = genFig(101); fig2 = genFig(102); fig3 = figure('Position', [100, 100, 900, 500]); pnlLeft = uipanel(fig3, 'Position', ...

environ 3 ans il y a | 0

Réponse apportée
Include two separated existing matlab figures into a new subplot
you can always save the figure as an image and plot the two images fig1 = openfig('figure1.fig'); print(fig1, '-dtiff', '-r300...

environ 3 ans il y a | 0

Réponse apportée
Set the properties of a class by reading values from initialization file
I would translate the file to JSON format and save the whole class instead of the key-value pairs of INI files JSON is great fo...

environ 3 ans il y a | 0

Réponse apportée
Operands to the logical and (&&) and or (||) operators must be convertible to logical scalar values. What is my mistake ?
your variable sales is probably a vector (or matrix) then what you get from your comparison operators ">=" and "<" are logical ...

plus de 3 ans il y a | 0

Réponse apportée
how to replicate the array?
a = [1, 2, 3; 4, 5, 6; 7, 8, 9]; b = a([1, 1, 2, 3, 3], [1, 1, 2, 3, 3]) c = padarray(a, [1, 1], 'replicate', 'both')

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Matching ranges of values and inserting new rows in columns
Once you know that table2 is sorted in ascending order and that there are no overlaps and no shenanigans, you can map the positi...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How to write the output of program as a table on excel?
A possible solution would be to add three more columns to the table, 'month', 'orientation' and 'row', after reading it from the...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
How to control order of response by callback functions to an event?
If you implement the event provider yourself, it is possible to track which event listeners were fired before a specific callbac...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to repeat the same codes/work on different datasets in different subfolders
make a script that inspects all subfolders of the folder your data resides in: dataRootPath = fullfile('D:', 'Masters', 'Raw La...

plus de 3 ans il y a | 0

Réponse apportée
If you're using tic, toc, and var=input('prompt'), is there a way for toc to interrupt the user input if they take too long to answer?
Its possible, not using toc though. The problem is this, once your code reaches the input function it freezes in that line and ...

plus de 3 ans il y a | 0

Réponse apportée
How to smooth multiple datasets in app Designer with one slider
If I understand correctly this time, you have 4 datasets, you want to plot one of them and you want to control the smoothing wit...

plus de 3 ans il y a | 0

Réponse apportée
How to smooth Data on App Designer for only plot on display
You can save the original data in a different property, then plot it as response to the slider callback See simple example I ma...

plus de 3 ans il y a | 0

Réponse apportée
How to change the order when moving components on the App Designer using the Tab key on the keyboard
Apparently there is no straight forward way of doing that. It seems that the tab-order is controlled by the order of adding com...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to superpose pcolor and plot on the same figure?
You call clf() after changing hold status to 'on' this clears your figure, therefore resets your hold status to 'off'. move cl...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do i fit the weibull histogram?
The PDF you calculated should be normalized to the area of the histogram first. Here's how histfit does it more or less: pd=...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Negative Numbers to the power of 0
Any arithmetic operation performed on variables will treat the variables as if it was wrapped with parentheses. Try this simp...

environ 4 ans il y a | 0

Réponse apportée
While loop isn't working
You have two mistakes 1. while loop should work with a scalar condition, but as far as I know if you use a logical vector it wi...

environ 4 ans il y a | 1

| A accepté

Charger plus