Community Profile

photo

Luna


189 2018 年以降の合計貢献数

連絡する

Luna's バッジ

  • 6 Month Streak
  • Revival Level 1
  • Knowledgeable Level 3
  • Thankful Level 1
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Error while using a GUI
Hi Tamir, Just change line 116 as follows, definetely it will work: [pathstr,name,ext]=fileparts(fullfile(pathname,file1));

9日 前 | 0

回答済み
How to plot more lines of xtick label
Hi, Have you tried this function from FEX? my_xticklabels

10日 前 | 0

回答済み
How to combine several pieces of code in a For Loop?!
Hello William, Just by changing your y array it works. Try this: xStart = 0; xFinishArray = 1:4; y = [0,2,0,2,0,2]; hF...

13日 前 | 0

回答済み
Lookup tables for ICE data mapping
What do you mean by slicing? Unfortunetely I can't look at the text file but as far as I understand you have a set of data for e...

約2ヶ月 前 | 1

| 採用済み

回答済み
HEEEEELP....... Array cells comparing....
Hi, Look at the function ismember to search if your element exists in another array. Please share your arrays as an example a...

約2ヶ月 前 | 1

回答済み
My for loop gives an error
You can put your symbolic 4x4 matrices into a cell array. Also your for loop is wrongly defined like for S = [1 2 3...]. You s...

2ヶ月 前 | 1

| 採用済み

回答済み
Error finding matrix indices where elements obey a condition
Hi Ferda, Please see my comments below: % first convert it to double array: A = double(input_of_hidden_layer2); % indexing...

2ヶ月 前 | 0

| 採用済み

回答済み
Indexing to cell arrays
Try this: X = [0.1 3 0.2; 2 5 4;1 0.3 5]; [xlocs,ylocs] = find(X<1 & X>0); % locations of values, you have 3 values. xlocs' f...

2ヶ月 前 | 0

回答済み
MATLAB GUI Radiobutton Control
Hi Oğuzhan, You can just simply do this: When option1 selected, enable edit1 and disable edit2. (radiobutton1 callback) set...

2ヶ月 前 | 0

| 採用済み

回答済み
How to group an array and then replace each group with different numbers?
Try this: A = [1 1 1 0 0 0 1 0 0 1 0 1 1 0 0]; C = [4, 5, 6, 3]; A(end+1) = 1; locRise = find([0 diff(A == 0) > 0]); loc...

2ヶ月 前 | 0

回答済み
Sort struct fields by their length
Hi, Try this: % Create myStruct with Alphabet Fields and add random 1XN array to the % fields fieldList = cellstr(('a':'z'...

2ヶ月 前 | 0

回答済み
GUI to select a file if it exists else create a new one
Hi Sunny, [fileName,pathName,index] = uiputfile({'*.xlsx';'*.xls'},'Please Select a file Location','My Default File Name.xlsx'...

2ヶ月 前 | 0

| 採用済み

回答済み
Sir, I need to convert .dat file into .mat file
Hi, Check mdfimport function in FEX below link: mdfimport

2ヶ月 前 | 0

回答済み
data.table equivalent in matlab
Hello, Have you ever checked table and datastore? You can look at below links and their relevant properties and methods in doc...

2ヶ月 前 | 0

| 採用済み

回答済み
How to install a .mltbx without opening Licence Agreement Screen?
I found a way, https://www.mathworks.com/help/matlab/ref/matlab.addons.toolbox.installtoolbox.html newAddon = matlab.addons....

3ヶ月 前 | 0

| 採用済み

回答済み
How to delete the columns of a cell array if the last elements of the columns are zero
Hi, You can use this: myArray = {'A','B','C','D'; 2 2 4 0;1 1 5 2; 1 1 6 0; 1 1 0 1}; newArray = myArray(:,~([myArray{end,:...

3ヶ月 前 | 0

質問


How to install a .mltbx without opening Licence Agreement Screen?
Hello dear community! I want to install GUI Layout Toolbox inside a function with only code. I am currently using 2018a and ea...

3ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
can text next to input be different in each loop?
Hi, Input can get prompt string as an input already. You can use both: promptString = 'Enter Height'; for i = 1:5 x=in...

3ヶ月 前 | 1

| 採用済み

回答済み
How can I generate an array of binary data of this form?
Hi Luqman, Please see the code below and read the comments: N = 6; permutatedArray = [ones(1,N/2),zeros(1,N/2)]; % this cre...

3ヶ月 前 | 0

回答済み
How to append number to array
Assuming that your function's outputs are 1x1 double, you can use below: S0=30; K=32; r=0.03; sigma=0.2; T=1; M=10; % er...

3ヶ月 前 | 0

| 採用済み

回答済み
Making plots look beautiful
Hello Hari, I have just created a dummy data and plot them for you. You must check the line properties in documentation here t...

3ヶ月 前 | 1

| 採用済み

回答済み
Index exceeds matrix dimensions
You can't use simulink as a variable name. simulink(i)=simulink1; % simulink is already a built-in function which starts simul...

3ヶ月 前 | 0

回答済み
How to fill a 1024 point array with two cycles of a cosine wave?
You can use linspace. Example: xData = linspace(0,4*pi,1024); yData = cos(xData); figure; plot(xData,yData);

3ヶ月 前 | 0

| 採用済み

回答済み
Change categorical array categories in table for use in uitable dropdown
Hi Vik, I don't know why it didn't work, I have tried what you did above. I tried exact the same thing with categorical variabl...

4ヶ月 前 | 0

回答済み
access data in structure?
You are almost there. Try this: H0=struct('h',[0,0],'Q_centroid',[0,0],'Q_action',[.5,.51,.5,.51],'Q_table',[0]); H1=struct('...

4ヶ月 前 | 0

| 採用済み

回答済み
Extract only numbers from a cell array.
Your data seems much more complicated than that and has commas inside cells as a char also. I have removed white spaces, +j s...

4ヶ月 前 | 0

回答済み
How can I find which row has a specied values that I entered?
For example, A=[4 5 6 7; 8 4 5 6; 4 5 6 8; 8 4 8 9 ;1 2 2 4; 4 5 6 8]; % A matrix v = [4 5 6 8]; % vector you are searching f...

4ヶ月 前 | 1

| 採用済み

回答済み
How can share the handles variable between two skripts?
@madhan ravi +1 If they are scripts, they should be created as methods of a class which is abstracted from handle superclass. ...

4ヶ月 前 | 0

| 採用済み

回答済み
GUI Resizing Issue for Different Screen Resolutions
The best, easiest and effortless way to do it is using GUI Layout Toolbox from FEX. You will never need to implement SizeChang...

4ヶ月 前 | 1

回答済み
How to use uiwait in GUI
Use waitfor instead. Waitfor pauses calculation until the object destroyed or deleted. figHandle = uifigure(..) % or you can c...

4ヶ月 前 | 0

| 採用済み

Load more